Commands - FabioZumbi12/RedProtect GitHub Wiki
All player commands need to be executed inside a region you want to manage and only admin commands can be used with region name. Some of this commands are granted by default without permission setup.
Check the info about permissions Here
Subtitles: <> = needed [] = optional
Member Management (optional args require admin permissions)
Command | Alias | Description |
/rp addadmin <player> [regionName] [worldName] | aa | To promote a member to admin |
/rp addleader <player> [regionName] [worldName] | al | Promote a admin or member to leader |
/rp addmember <player> [regionName] [worldName] | am | To add a member in a region |
/rp removemember <player> [regionName] [worldName] | rm | To remove a player from region |
/rp removeadmin <player> [regionName] [worldName] | ra | To demote an admin to member |
/rp removeleader <player> [regionName] [worldName] | rl | To demote a player to admin from region |
Region Management (optional args require admin permissions)
Command | Alias | Description |
/rp pos1 | p1 | Set first position as wand tool (if using wand type) |
/rp pos2 | p2 | Set second position as wand tool (if using wand type) |
/rp claim [regionName] [playerName] | cla | To claim a region using wand tool as player |
/rp define <regionName> | def | Create new region with wand tool as \#server\# |
/rp redefine <regionName> | rdef | Redefine the area of a region with wand tool |
/rp priority <priority> [regionName] | prior | Set the priority for child regions |
/rp rename <newName> | rn | To rename a region |
/rp deltp | dtp | To delete a teleport point form region |
/rp info [region] [world] | i | Get info about a region |
/rp border | b | To show the border of region |
/rp flag [regionName(used with worldName)] [flag] [value] [worldName(used with regionName)] | fl | Open a visual flag gui or change the value of a flag |
/rp welcome <message/off/hide> | wel | Set a welcome message on enter the region |
/rp kick <player> [regionName] [worldName] | k | To kick a player and temporary deny this player to enter on region |
/rp delete [regionName] [worldName] | del | To delete a region |
Block and Region Limits
Command | Alias | Description |
/rp blocklimit [other player] | blimit | See block limits |
/rp claimlimit [other player] | cl | See the claim limit |
/rp addblock [player] [amount] | ab | Add block limit to player |
/rp delblock [player] [amount] | db | Remove block limit of a player |
Util Commands
Command | Alias | Description |
/rp help | ? | Show help page |
/rp start | st | Paste a starter schematic for new players |
/rp tutorial | tut | To show a tutorial on how to protect a region |
/rp list | ls | To see all your regions |
/rp near | n | Liste regions near |
/rp wand | w | Get the Wand tool if using WAND claim mode |
/rp value | v | Calculates the value of region based on economy file configuration |
Admin or Mod Commands
Command | Alias | Description |
/rp can-purge | cp | Enable purge for a region |
/rp copyflag [from] [to] | cf | To copy flags from one region to other |
/rp expand-vert [regionName] [world] | ev | Expand a region to min and max world height |
/rp kill [world] [entity] | kill | To kill all entities on all worlds, or specific |
/rp purge-limit | pl | Check the limit of disabled purge regions |
/rp regen/undo | regen | Regen a region or undo a regenerated region. Click Here |
/rp regenall <player> | regall | Regen all regions of a player |
/rp select-we | swe | Make a world edit selection based on RedProtect wand tool |
/rp setmaxy/setminy <height> | maxy/miny | Set region heights |
/rp settp | stp | Set the tp point of a region |
/rp teleport [region] [world] | tp | Teleport to a region |
Portal Creation
Command | Alias | Description |
/rp createportal <newRegionName> <regionTo> <world> | newportal | To crete a portal using wand tool or from an existing region |
Console Commands This commands are for administration, management and testes in a RedProtected server. This commands need to be used from console or with the "redprotect.admin" permission.
Command | Description |
/rp addon [addon name] [download/enable/disable] | Install addons from cloud and can load/unload (need the plugin PlugManX to unload/load the addon without restart the server) |
/rp debug-item | Prints the player's hand material name on chat to use on redprotect configurations |
/rp reset-uuids | Update and reset player UUIDs based on Mojang (if in online mode) or on players offline uuids |
/rp test-uuid [player name] | Test the player uuid to compare Mojang uuid and server uuid |
/rp clear-kicks | Reset all actual player kicks timings |
/rp single-to-files | Convert each single file to one region file per world |
/rp files-to-single | Convert world regions filres to each region file |
/rp fileToMysql | Convert file database to Mysql. Mysql settings need to be set on config before use this command |
/rp mysqlToFile | Convert Mysql database to files |
/rp gpTorp | Convert regions from GriefPrevention to redprotect |
/rp mychunktorp | Convert regions from MyChunk to redprotect |
/rp wgtorp | Convert regions from WorldGuard to redprotect |
/rp list-all | Prints all regions on console |
/rp load-all | Overwrite all regions on memory with the saved regions from disk |
/rp save-all | Save all regions to disk |
/rp reload | Disable and re-enable redprotect reloading regions and configs |
/rp reload-config | Reload all configs files from disk |
Regen Command
- This command uses WorldEdit to regen regions, and will regen to the world seed. Pay attention: If your world was generated on old versions of minecraft, like 1.7, and you will use this command, will generate different chunks like generated on 1.7 and where is grass can be water.
- You can UNDO with /rp undo but only if the region exists, and will regen only the RP area, including max y and min y.
- There's NO CHANCE of this command regen all your world, but if you turn off the server on regenerating process can damage the world, the risk is same when using regen command of worldedit.
- Added option to purge regions. On purge you can set to regen that area like as world creation state (if same version from creation of world and regen). * This will make a queue to regen the regions in a progressive way and if using. You can define the max area of regions to regenerate, to avoid server crash on regen big regions. The default value is 500 blocks of area.