RegionCommand

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit