RegionCommand
RegionCommand (RegionCmd)
For some reasons, you maybe said "I want them to use this command when there are there!", so what about making it automatic ?
Easy to use
Create a zone with WorldEdit and use :
/createregion <idname>
Just go to the plugin folder "RegionCommand" and open "config.yml". You can put all of the commands you wants them to use in each region. Then perform the
/reloadregion
command to reload the regions properties.
Use
/removeregion <idname>
to remove the region. It will delete all of this, so be careful !
Example :
AAA: world: world loc1: ==: Vector x: -2.0 y: 0.0 z: 244.0 loc2: ==: Vector x: 3.0 y: 255.0 z: 251.0 commands_enter: - gamemode 1 commands_quit: - gamemode 0 forceop: true cooldown_enter: 0 cooldown_quit: 0
- AAA = region id name
- world = world of the region
- loc1 and loc2 = contains the region's locations infos
- commands = list of commands to perform when entering the region (no need the first "/")
- commands = list of commands to perform when leaving the region (same)
- forceop = set true to override permission problems
- cooldown_enter = cooldown in seconds (watch the video, quit hard to explain)
- cooldown_enter = cooldown in seconds (watch the video, quit hard to explain)
Permissions
region.reload : allows to reload regions region.create : allows to create regions region.remove : allows to remove regions
With an API
Makes it so easier for developers ! They can use this by the events :
PlayerEnterRegionEvent PlayerLeaveRegionEvent
Without having to recreate a region interface.
I keep getting this error in the console: http://pastebin.com/ftXVwjEM. It does not appear to be causing anything, but it worries me with it being there.
@Anivia95
Tu n'as pas compris le principe de ce plugin, c'est de FAIRE FAIRE un commande PAR le joueur. Sinon oui, je peux mettre des Regex bien sûr ;)
Hey ! Good plugin: Thank ! I've a suggestion, can you add : {player} (to replace the name of the player entering the region for a command) ??
For example, to give a permission to a player with GroupManager : -manuadd {player} [permission]*
Thank (and sorry for my bad english) :)
@Noplix
Since 1.7 is out, it will be updated directly to 1.7.2.
@deniseee22
Helloooooo ! Good idea, i will do it. Thanks !
For the paypal donation, keep your money, but i appreciate a lot, you made my day ;)
@Zandor300
Hello ! Sorry haven't been active for a while... ^_^ I'll do so, thanks for the idea. :D
Work on 1.6.2 Bukkit?
Can you add a command /createcommand <region> comand and /removecommand <region> Command ? for me execute via console?
Add paypal donate button to your plugin.
can you make it so you can set command on enter and other commands on leave?
example commands enter: - gamemode 1 commands leave: - gamemode 0
Help...
I had the idea to do that, but I don't have time to follow developing right now. Incoming @p variable. But think that the PLAYER execute the command so that you only need /warp destination.
Do you have any variables where I can pull the players name who entered the region to trigger the command, for example:
coomands: - warp @player MainSpawn
@Arceus02
For some reason only the last portal in the config file works. None of the other portals in the config file will work. Please fix this! Let me know if you need more details. Thanks
@Kheldarath
Nope, this plugin doesn't work like that. Soz bro. It doesn't work with Dynmap since Dynmap loads only things he knows. It doesn't depend on me. I don't know the plugin you are looking for. But isn't there an option in Towny to do that ? I thought ...
Does this plugin allow you to create a region on your server which, when a player enters it, shows them a region name if you will.
So if the player moves into a city, it will tell them they are entering "such and such city" or if they enter a wilderness area thats marked out it will say something like "welcome to mountain zone"
Also, does this addon work with Dynmap so the regions show up on your map page?
If not, is anyone able to PM me a plugin name that does do this.
@bizzig
No problem :)
My apologies. I got this plugin totally wrong. I thought it would allow players to perform the commands in the config file in the region specified. I didn't realize i just auto performs the command for them when they enter the region, such as switching their gamemode. Thanks anyway.
Bizzig
@bizzig
using permissionsbukkit, and I have vault, bukkit 1.4.6 (havent updated yet because not all my plugins are updated to 1.4.7)
Doesnt seem to be working for me. Heres my config file for the region I created :