Command Regions (v1.3)

Details

  • Filename
    CommandRegions (v1.3).jar
  • Uploaded by
  • Uploaded
    Nov 12, 2018
  • Size
    20.17 KB
  • Downloads
    196
  • MD5
    912a5ea25a4163aaafe284ad18dd7cb7

Supported Bukkit Versions

  • 1.13

Changelog

Updates
  • A brand new way to execute console commands when entering/leaving a region. (Now supports both player and console commands.)
  • '/cr save' has been changed to '/cr save <1-5>'
  • '/cr delete' has been changed to '/cr delete<1-5>'
  • Additions in RegionListener.
  • Fixed some of the text formatting graphical issues.
  • You are now able to change the wand material.
  • Changed the config.yml.
 
 

#COMMAND REGIONS - CREATED BY ASTERO.<br /><br />settings:<br />&nbsp;# Make sure world-name is set correctly as your server's world name.<br />&nbsp; world-name:&nbsp;'world'<br />&nbsp; wand-material:&nbsp;'COOKIE'<br /><br />messages-en:<br />&nbsp; prefix:&nbsp;'&amp;7<span class="br0">[</span>Command-&amp;6Regions&amp;7<span class="br0">]</span>'<br />&nbsp; nopermissions:&nbsp;'&amp;6Whoopies! &amp;7You do not have the correct permissions to use this command!'<br />&nbsp;<br />region1:<br />&nbsp;# Execute this command on region enter. Leave blank for no commands for either player or console.<br />&nbsp; playercommandonenter:&nbsp;'kick'<br />&nbsp; consolecommandonenter:&nbsp;'say Entering region 1!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region enter.<br />&nbsp; messageonenter:&nbsp;true &nbsp;<br />&nbsp;<br />&nbsp;&nbsp;# If messageonenter is true, this message will be sent.<br />&nbsp; entermessage:&nbsp;'&amp;7You are now entering &amp;6Region 1&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region leave.<br />&nbsp; messageonleave:&nbsp;true<br />&nbsp;<br />&nbsp;&nbsp;# If messageonleave is true, this message will be sent.<br />&nbsp; leavemessage:&nbsp;'&amp;7You are now leaving &amp;6Region 1&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Leave blank if you don't want a playercommand or consolecommand.<br />&nbsp; playercommandonleave:&nbsp;'ban'<br />&nbsp; consolecommandonleave:&nbsp;'say Leaving region 1'<br />&nbsp;<br />region2:<br />&nbsp;# Execute this command on region enter. Leave blank for no commands for either player or console.<br />&nbsp; playercommandonenter:&nbsp;'kick'<br />&nbsp; consolecommandonenter:&nbsp;'say Entering region 2!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region enter.<br />&nbsp; messageonenter:&nbsp;true &nbsp;<br />&nbsp;<br />&nbsp;&nbsp;# If messageonenter is true, this message will be sent.<br />&nbsp; entermessage:&nbsp;'&amp;7You are now entering &amp;6Region 2&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region leave.<br />&nbsp; messageonleave:&nbsp;true<br />&nbsp;<br />&nbsp;&nbsp;# If messageonleave is true, this message will be sent.<br />&nbsp; leavemessage:&nbsp;'&amp;7You are now leaving &amp;6Region 2&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Leave blank if you don't want a playercommand or consolecommand.<br />&nbsp; playercommandonleave:&nbsp;'ban'<br />&nbsp; consolecommandonleave:&nbsp;'say Leaving region 2'<br />&nbsp;<br />region3:<br />&nbsp;# Execute this command on region enter. Leave blank for no commands for either player or console.<br />&nbsp; playercommandonenter:&nbsp;'kick'<br />&nbsp; consolecommandonenter:&nbsp;'say Entering region 3!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region enter.<br />&nbsp; messageonenter:&nbsp;true &nbsp;<br />&nbsp;<br />&nbsp;&nbsp;# If messageonenter is true, this message will be sent.<br />&nbsp; entermessage:&nbsp;'&amp;7You are now entering &amp;6Region 3&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region leave.<br />&nbsp; messageonleave:&nbsp;true<br />&nbsp;<br />&nbsp;&nbsp;# If messageonleave is true, this message will be sent.<br />&nbsp; leavemessage:&nbsp;'&amp;7You are now leaving &amp;6Region 3&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Leave blank if you don't want a playercommand or consolecommand.<br />&nbsp; playercommandonleave:&nbsp;'ban'<br />&nbsp; consolecommandonleave:&nbsp;'say Leaving region 3'<br />&nbsp;<br />region4:<br />&nbsp;# Execute this command on region enter. Leave blank for no commands for either player or console.<br />&nbsp; playercommandonenter:&nbsp;'kick'<br />&nbsp; consolecommandonenter:&nbsp;'say Entering region 4!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region enter.<br />&nbsp; messageonenter:&nbsp;true &nbsp;<br />&nbsp;<br />&nbsp;&nbsp;# If messageonenter is true, this message will be sent.<br />&nbsp; entermessage:&nbsp;'&amp;7You are now entering &amp;6Region 4&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region leave.<br />&nbsp; messageonleave:&nbsp;true<br />&nbsp;<br />&nbsp;&nbsp;# If messageonleave is true, this message will be sent.<br />&nbsp; leavemessage:&nbsp;'&amp;7You are now leaving &amp;6Region 4&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Leave blank if you don't want a playercommand or consolecommand.<br />&nbsp; playercommandonleave:&nbsp;'ban'<br />&nbsp; consolecommandonleave:&nbsp;'say Leaving region 4'<br />&nbsp;<br />region5:<br />&nbsp;# Execute this command on region enter. Leave blank for no commands for either player or console.<br />&nbsp; playercommandonenter:&nbsp;'kick'<br />&nbsp; consolecommandonenter:&nbsp;'say Entering region 5!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region enter.<br />&nbsp; messageonenter:&nbsp;true &nbsp;<br />&nbsp;<br />&nbsp;&nbsp;# If messageonenter is true, this message will be sent.<br />&nbsp; entermessage:&nbsp;'&amp;7You are now entering &amp;6Region 5&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Whether there should be a message sent on region leave.<br />&nbsp; messageonleave:&nbsp;true<br />&nbsp;<br />&nbsp;&nbsp;# If messageonleave is true, this message will be sent.<br />&nbsp; leavemessage:&nbsp;'&amp;7You are now leaving &amp;6Region 5&amp;7!'<br />&nbsp;<br />&nbsp;&nbsp;# Leave blank if you don't want a playercommand or consolecommand.<br />&nbsp; playercommandonleave:&nbsp;'ban'<br />&nbsp; consolecommandonleave:&nbsp;'say Leaving region 5'
 
 

 

 
 
 
 
 
NOTE: if you're updating from version 1.0, you can either delete the config.yml to generate a new one or simply add 'consolecommandonenter' to every regions. Also, add 'wand-material: 'COOKIE'' under settings in the config.yml.
 
As of 11/NOV/2018, I have created a method to generate unlimited regions. However, I came across a few issues like setting commands in certain regions and such. I hope to fix it by the end of next week.