[REQ] Command Area

Discussion in 'Archived: Plugin Requests' started by Zmolahah, Dec 7, 2012.

  1. Offline

    Zmolahah

    I have a idea for a plugin that would be very helpful for me because I use a plugin called Skript that allows you to create your own plugins simply but it's not very good at finding the area you are currently in so my idea would be to make a plugin that uses something like a world edit selection and allows you to make it so if someone stands in the area it makes them execute a command and exit command.

    Plugin category:
    [EDIT/SEC/ADMIN]

    Commands-

    /CA create <name>
    Allows you to create a command area at the selection you provided <name> = name of area

    /CA edit <name> enter <-p/-c> <command>
    Allows you to add a enter command to the area you have created. So if I did /CA create test then /CA edit test enter -p /spawn it makes the player who stands in the command area test perform the command (-p makes the player execute the command, -c makes the console perform the command)

    /CA edit <name> exit <-p/-c> <command>
    Allows you to add a exit command to the area you have created. So if I did /CA edit test exit -z /save-all it makes the console save everything when someone leaves the test area. (-c makes the console execute the command, -c makes the console perform the command)

    /CA remove <name>
    Removes the command area of <name>

    Permissions-

    ca.admin
    allows people to create command areas

    ca.user
    allows commands to activate when a user steps into a command area
     
  2. Offline

    app1egenius93

    I don't have the time currently to do this but you may be able to make use of the command blocks and trip wires?
     
  3. Offline

    Zmolahah

    Problem is it's not very trustworthy. Someone could step on the trip wire and let someone else through without stepping on it and there are many ways around it. I would feel much safer with a plugin to do it
     
  4. Offline

    AndyMcB1

    VariableTriggers ;)
     
  5. Offline

    LexLaiden

    Yes VariableTriggers is what you want.
     
  6. Offline

    Zmolahah

    I guess I'll have to.. I've been looking at the plugin for a while now but the video made the commands look kinda complex. I was hoping just for a small and simple plugin for this but I honestly loved the idea of animations with variable triggers and I was planning on learning all the commands sooner or later I guess so it's worth a try now
     
  7. Offline

    LexLaiden

    Once you get the hang of it you will say to yourself, "Wow, this is not hard at all. It is realy easy! Why did I wait so long."
     
    Zmolahah likes this.

Share This Page