[HUGE REQUEST] TOGGLES - Where you can /toggle anything!

Discussion in 'Plugin Requests' started by w1nst0n, Jul 5, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    w1nst0n

    Hello there! This post comes with a HUGE request! This skript includes commands that toggle specific things in their own world (own world is optional). This is similar to Mineplex's invisible /toggle command. (/toggle only apperas to Admins/Devs in a Mineplex MPS.) This could be some sort of API towards minigames, because you can enable chat, pvp, double jumps, and other features with the /toggle command. I would LOVE to see this tie into MCR (Mineplex Core Remake) by @WheezyGold7931. This would be so because the command comes with permissions.

    About MCR: Mineplex Core Remake is a Script made by WheezyGold7931. It includes the regular features of Mineplex, such as staff commands, ranks, and features. This is not fully completed yet. This is a script, not a plugin found on Bukkit. A script is a text file that is converted to a plugin/mod by a plugin call "Skript". MCR can be found here!

    Commands: The Permission needed to use all these commands is the permission group "Admin" or above. (Includes Developer)

    Confirmation Messages: These messages appear to the person who executed a toggle command, or appears to the public, depending on a specific toggle. The message is as follows:

    {BLUE}Toggle> {Grey}[Toggle] has been set to [true/false]

    /toggles: This states all the commands that you can use to toggle something. Basically the following text:

    /cycles {TIME/WEATHER} [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes the cycles in Minecraft: Time and Weather.

    /bed [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not players can use beds.

    /blocks [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can break or place blocks.

    /eburn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can SET the environment on fire.

    /burn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player would burn if they are lit on fire or step in lava.

    /silence [seconds for silence] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can talk in chat for a specific amount of time. Staff can bypass this. Already implemented in MCR.

    /combust [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a mob would catch on fire if it was daytime.

    /hunger [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player will have a hunger bar that is active.

    /craft [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can use a crafting table.

    /command [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can do a command. Staff can bypass this.

    /damage [Damage Type] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an entity will take damage of a specific event, like fall damage, pvp, pve, or fire.

    /respawn [type] This command changes whether or not a player would respawn on death, get kicked on death, banned on death, or turn into a spectator. Respawn types: ban, kick, spectator, and normal.

    /drop [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can drop items.

    /expspawn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an entity would drop XP on death.

    /explode [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a tnt block can explode.

    /eexplode [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a tnt changes the environment around it on its explosion.

    /furnace [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can use a furnace.

    /grow [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a plant or a tree can grow.

    /durability [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an item will take durability damage on use.

    /heal [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a entity heals (Includes players).

    /pickup [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an item can be picked up.

    /portal [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a portal can be created.

    /move [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can move. If this is enabled and a player starts to move, then they get teleported back where they were.

    /throw [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player or an entity can throw anything (Includes arrows).

    /join [message] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can join the server. The message is displayed on the kick of a player trying to join.

    /lockdown [message] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can join the server, but in a different way. When the command is executed, all players that aren't a builder+ are kicked from the server.

    /kickkill [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not when a player is kicked, that player is killed.

    /throwabletnt [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can throw tnt. When this is enabled, players can THROW tnt. On right click with a tnt, the tnt is placed at the player's feet ready to go off (Already Ignited). On left click, the tnt is thrown at where the player is looking, ready to go off (Ignited.)

    /togglemessage [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not the toggle message is announced to the public (True), or the person who executed it only (False).

    /mobspawn [Hostile/Peaceful/All] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a specific mob type spawns in the world.

    /alltoggles [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not the skript is active or not. Default is true.

    ADD AS MANY TOGGLES AS YOU POSSIBLY CAN! ALL EVENTS!
    NOTICE THAT THE COMMANDS YOU DO TO EXECUTE TOGGLES IS NOT /toggle [toggle type] [true or false] BUT IS THE COMMAND ONLY. EX: /DROP [TRUE OR FALSE]


    Hopefully everyone knows what I would like to see and would like to help out! If you have any additional questions about this, then be sure to reply! Thanks for reading, and have a great day!

    - w1nst0n
     
  2. Hello, is /silence needed if you already have a plugin that does this? Also I'm not doing this in a skript but a normal Plugin, is that okay? You just need to put it in your plugins folder like you would with the Skript plugin to use skripts.
     
  3. Offline

    w1nst0n

    /silence is not needed. And make all the messages that appear when a toggle changes as follows please:

    "&9Toggles> &7The &6TOGGLE> &7has been set to &6True/False"
     
    Last edited: Jul 19, 2016
  4. Ohhhhh, okay, kinda already started not doing that. But okay I haven't done too too much

    /cycles {TIME/WEATHER} [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes the cycles in Minecraft: Time and Weather.
    NOT NEEDED/EXPLAIN!
    /bed [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not players can use beds.
    DONE!
    /blocks [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can break or place blocks.
    DONE!
    /eburn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can SET the environment on fire.
    DONE!
    /burn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player would burn if they are lit on fire or step in lava.
    DONE!
    /silence [seconds for silence] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can talk in chat for a specific amount of time. Staff can bypass this. Already implemented in MCR.
    NOT NEEDED!
    /combust [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a mob would catch on fire if it was daytime.

    /hunger [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player will have a hunger bar that is active.
    DOESN'T WORK!
    /craft [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can use a crafting table.
    DONE!
    /command [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can do a command. Staff can bypass this.
    DONE!
    /damage [Damage Type] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an entity will take damage of a specific event, like fall damage, pvp, pve, or fire.
    WIP
    /respawn [type] This command changes whether or not a player would respawn on death, get kicked on death, banned on death, or turn into a spectator. Respawn types: ban, kick, spectator, and normal.
    DONE!
    /drop [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can drop items.
    DONE!
    /expspawn [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an entity would drop XP on death.
    DONE!
    /explode [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a tnt block can explode.
    DONE!
    /eexplode [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a tnt changes the environment around it on its explosion.

    /furnace [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can use a furnace.
    DOESN'T WORK!
    /grow [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a plant or a tree can grow.

    /durability [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an item will take durability damage on use.
    DONE!
    /heal [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a entity heals (Includes players).
    DONE!
    /pickup [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not an item can be picked up.
    DONE!
    /portal [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a portal can be created.

    /move [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can move. If this is enabled and a player starts to move, then they get teleported back where they were.
    DONE!
    /throw [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player or an entity can throw anything (Includes arrows).
    DOESN'T WORK!
    /join [message] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can join the server. The message is displayed on the kick of a player trying to join.
    DONE!
    /lockdown [message] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can join the server, but in a different way. When the command is executed, all players that aren't a builder+ are kicked from the server.
    DONE!
    /kickkill [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not when a player is kicked, that player is killed.
    DONE!
    /throwabletnt [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a player can throw tnt. When this is enabled, players can THROW tnt. On right click with a tnt, the tnt is placed at the player's feet ready to go off (Already Ignited). On left click, the tnt is thrown at where the player is looking, ready to go off (Ignited.)

    /togglemessage [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not the toggle message is announced to the public (True), or the person who executed it only (False).
    DOING IN NEXT UPDATE!
    /mobspawn [Hostile/Peaceful/All] [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not a specific mob type spawns in the world.

    /alltoggles [True or False] (True or false not required. If there is no true or false, then the toggle changes. Example: If true, then it turns false. If false, it turns true.) This command changes whether or not the skript is active or not. Default is true.
    MAY DO IN NEXT UPDATE!


    Okay, will finish what I need to soon.

    https://www.dropbox.com/s/7r0txuu8abqklby/Toggle.jar?dl=0
     
    Last edited: Aug 14, 2016
Thread Status:
Not open for further replies.

Share This Page