Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Commit 5e32dce

Browse files
committed
2.0.1
1 parent 56eaead commit 5e32dce

24 files changed

+2363
-1170
lines changed

README.md

Lines changed: 234 additions & 125 deletions
Large diffs are not rendered by default.

plugin.yml

Lines changed: 51 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,62 @@
11
main: aliuly\worldprotect\Main
22
api: [1.10.0]
33
load: STARTUP
4-
softdepend: [ManyWorlds]
54

65
name: WorldProtect
76
description: protect worlds from griefers, pvp, limits and borders
8-
version: 1.2.4
7+
version: 2.0.1
98
author: aliuly
109

1110
commands:
12-
worldprotect:
13-
description: Manage worlds
14-
usage: "/wp <help|sub-cmd> [options]"
15-
permission: wp.cmd.all
16-
aliases: [wp]
17-
motd:
18-
description: Show the world's message of the day
19-
usage: "/motd [world]"
20-
permission: wp.motd
11+
worldprotect:
12+
description: Manage worlds
13+
usage: "/wp <help|sub-cmd> [options]"
14+
permission: wp.cmd.all
15+
aliases: [wp]
2116

2217
permissions:
23-
wp.motd:
24-
default: true
25-
description: "Display MOTD"
26-
wp.cmd.all:
27-
default: op
28-
description: "Allow access to protect command"
29-
wp.cmd.protect:
30-
default: op
31-
description: "Change protect mode"
32-
wp.cmd.protect.auth:
33-
default: op
34-
description: "Permit place/destroy in protected worlds"
35-
wp.cmd.border:
36-
default: op
37-
description: "Allow contfol of border functionality"
38-
wp.cmd.pvp:
39-
default: op
40-
description: "Allow PvP controls"
41-
wp.cmd.noexplode:
42-
default: op
43-
description: "Allow NoExplode controls"
44-
wp.cmd.limit:
45-
default: op
46-
description: "Allow control to limit functionality"
47-
wp.cmd.wpmotd:
48-
default: op
49-
description: "Allow editing the motd"
50-
wp.cmd.addrm:
51-
default: op
52-
description: "Allow modifying the auth list"
53-
wp.cmd.unbreakable:
54-
default: op
55-
description: "Modify unbreakable block list"
18+
wp.motd:
19+
default: true
20+
description: "Display MOTD"
21+
wp.cmd.all:
22+
default: op
23+
description: "Allow access to protect command"
24+
wp.cmd.protect:
25+
default: op
26+
description: "Change protect mode"
27+
wp.cmd.protect.auth:
28+
default: op
29+
description: "Permit place/destroy in protected worlds"
30+
wp.cmd.border:
31+
default: op
32+
description: "Allow contfol of border functionality"
33+
wp.cmd.pvp:
34+
default: op
35+
description: "Allow PvP controls"
36+
wp.cmd.noexplode:
37+
default: op
38+
description: "Allow NoExplode controls"
39+
wp.cmd.limit:
40+
default: op
41+
description: "Allow control to limit functionality"
42+
wp.cmd.wpmotd:
43+
default: op
44+
description: "Allow editing the motd"
45+
wp.cmd.addrm:
46+
default: op
47+
description: "Allow modifying the auth list"
48+
wp.cmd.unbreakable:
49+
default: op
50+
description: "Modify unbreakable block list"
51+
wp.cmd.banitem:
52+
default: op
53+
description: "Ban/unban items"
54+
wp.cmd.info:
55+
default: true
56+
description: "Show WP config info"
57+
wp.cmd.gm:
58+
default: op
59+
description: "Allow setting a per-world gamemode"
60+
wp.cmd.gm.exempt:
61+
default: false
62+
description: "Users with this permissions will ignore per world gm"

resources/messages/messages.ini

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
; messages.ini
2+
"%1%-mode"=""
3+
"%1% is FULL"=""
4+
"/%s [world] %s %s"=""
5+
"<user>"=""
6+
"Add <user> to authorized list"=""
7+
"Adventure"=""
8+
"Auth List(%1%): "=""
9+
"Available sub-commands for %1%"=""
10+
"Ban an item"=""
11+
"Banned(%1%): "=""
12+
"Blocks changed: %1%"=""
13+
"Border: "=""
14+
"Changing gamemode to %1%"=""
15+
"Control PvP in world"=""
16+
"Creates a border defined\n\tby x1,z1 to x2,z2\n\tUse [none] to remove\n\tIf [range] is specified the border is\n\t-range,-range to range,range\n\taround the spawn point"=""
17+
"Creative"=""
18+
"Description: "=""
19+
"Details for %1%"=""
20+
"Disable explosions in world or spawn area"=""
21+
"Edits world motd text"=""
22+
"Enable %1% features"=""
23+
"Enabled one feature"=""
24+
"Error loading level %1%"=""
25+
"Explosion was stopped in %1%"=""
26+
"Gamemode: "=""
27+
"Help: "=""
28+
"It can not be broken!"=""
29+
"Items changed: %1%"=""
30+
"Limits number of players\n\tin a world to [value]\n\tuse 0 or -1 to remove limits"=""
31+
"Locked\n\tNobody (including op) can build"=""
32+
"MOTD:"=""
33+
"Max Players: "=""
34+
"NO features enabled"=""
35+
"NoExplode: "=""
36+
"No blocks updated"=""
37+
"No help for %1%"=""
38+
"No items updated"=""
39+
"No sub-command specified"=""
40+
"Nothing to report"=""
41+
"OFF"=""
42+
"ON"=""
43+
"Off in Spawn"=""
44+
"Only authorized (or op) can build"=""
45+
"Protect: "=""
46+
"PvP: "=""
47+
"Remove <user> from authorized list"=""
48+
"Remove unbreakable status from block"=""
49+
"Set block to unbreakable status"=""
50+
"Sets the world game mode"=""
51+
"Show protections on worlds"=""
52+
"Shows world motd text"=""
53+
"Spectator"=""
54+
"Survival"=""
55+
"Unable to find level %1%"=""
56+
"Unable to teleport to %1%\nWorld is full"=""
57+
"Unban item"=""
58+
"Unbreakable(%1%): "=""
59+
"Unknown feature \"%1%\" ignored."=""
60+
"Unknown sub-command %2% (try /%1% help)"=""
61+
"Unprotects world"=""
62+
"Usage: "=""
63+
"World %1% does not exist"=""
64+
"World %1% is not protected"=""
65+
"Worlds: %1%"=""
66+
"You are not allowed to do that here"=""
67+
"You are not allowed to do this"=""
68+
"You are teleporting outside the world"=""
69+
"You can not use that item here!"=""
70+
"You can only do this in-game"=""
71+
"You do not have permission to do that."=""
72+
"You have reached the end of the world"=""
73+
"[WP] %1%: not found"=""
74+
"[WP] %1% Gamemode: %2%"=""
75+
"[WP] %1% added to %2%'s auth list"=""
76+
"[WP] %1% gamemode removed"=""
77+
"[WP] %1% gamemode set to %2%"=""
78+
"[WP] %1% has no borders"=""
79+
"[WP] %1% is now LOCKED"=""
80+
"[WP] %1% is now OPEN"=""
81+
"[WP] %1% is now PROTECTED"=""
82+
"[WP] %1% not known"=""
83+
"[WP] %1% removed from %2%'s auth list"=""
84+
"[WP] Blocks(%1%):"=""
85+
"[WP] Border for %1% is (%2%,%3%)-(%4%,%5%)"=""
86+
"[WP] Border for %1% removed"=""
87+
"[WP] Border for %1% set to (%2%,%3%)-(%4%,%5%)"=""
88+
"[WP] Explosions Allowed in %1%"=""
89+
"[WP] Explosions allowed in %1%"=""
90+
"[WP] Explosions off in %1%'s spawn"=""
91+
"[WP] Explosions stopped in %1%"=""
92+
"[WP] Invalid border specification"=""
93+
"[WP] Items(%1%):"=""
94+
"[WP] Max players in %1% is un-limited"=""
95+
"[WP] Missing path %1%"=""
96+
"[WP] Must specify a world"=""
97+
"[WP] NO Explosions in %1%"=""
98+
"[WP] NO Explosions in %1%'s spawn"=""
99+
"[WP] NO PvP in %1%"=""
100+
"[WP] NO PvP in %1%'s spawn"=""
101+
"[WP] No banned items in %1%"=""
102+
"[WP] No gamemode for %1%"=""
103+
"[WP] No unbreakable blocks in %1%"=""
104+
"[WP] Player limit for %1% set to %2%"=""
105+
"[WP] Player limit in %1% removed"=""
106+
"[WP] Players allowed in %1%: %2%"=""
107+
"[WP] PvP in %1% is %2%"=""
108+
"[WP] PvP is allowed in %1%"=""
109+
"[WP] You are not allowed to do this"=""
110+
"[WP] You have been added to\n[WP] %1%'s auth list"=""
111+
"[WP] You have been removed from\n[WP] %1%'s auth list"=""
112+
"[WP] motd for %1% removed"=""
113+
"[WP] motd for %1% updated"=""
114+
"[id] ..."=""
115+
"[id] [id]"=""
116+
"[off|world|spawn]"=""
117+
"[on|off|spawn-off]"=""
118+
"[range|none|x1 z1 x2 z2]"=""
119+
"[text]"=""
120+
"[value]"=""
121+
"[world]"=""
122+
"auth(%1%)"=""
123+
"bi:"=""
124+
"border"=""
125+
"gm:"=""
126+
"max:"=""
127+
"motd"=""
128+
"notnt:"=""
129+
"off"=""
130+
"on"=""
131+
"pvp:off"=""
132+
"pvp:on"=""
133+
"pvp:spawn-off"=""
134+
"spawn"=""
135+
"spawn-off"=""
136+
"ubab:"=""
137+
"world"=""
138+
"#Usage: /%%s [world] %%s %%s"=""

resources/messages/spa.ini

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
; spa.ini
2+
"%1%-mode"="Modo-%1%"
3+
"%1% is FULL"="%1% esta LLENO"
4+
"/%s [world] %s %s"="/%s [mundo] %s %s"
5+
"<user>"="<usuario>"
6+
"Add <user> to authorized list"="Agregar <usuario> a la lista autorizada"
7+
"Adventure"="Aventura"
8+
"Auth List(%1%): "="Autorizado(%1%): "
9+
"Available sub-commands for %1%"="Sub-comandos disponibles para %1%"
10+
"Ban an item"="Prohíbe objeto"
11+
"Banned(%1%): "="Prohibído(%1%): "
12+
"Blocks changed: %1%"="Blóques modificados: %1%"
13+
"Border: "="Límite: "
14+
"Changing gamemode to %1%"="Cambiando modo de juego a %1%"
15+
"Control PvP in world"="Controla PvP en mundo"
16+
"Creates a border defined\n\tby x1,z1 to x2,z2\n\tUse [none] to remove\n\tIf [range] is specified the border is\n\t-range,-range to range,range\n\taround the spawn point"="Crea un límite definido\n\tpor x1,z1 al x2,z2\n\tUse [none] para quitar\n\tSi [range] es proporcionado, el límite definido es\n\t -range,-range a range,range\n\talrededor del punto de aparición"
17+
"Creative"="Creativo"
18+
"Description: "="Descripción: "
19+
"Details for %1%"="Detalles para %1%"
20+
"Disable explosions in world or spawn area"="Desactiva explosiones en mundo ó zona de aparición"
21+
"Edits world motd text"="Edita el texto de bienvenida a mundo"
22+
"Enable %1% features"="%1% módulos activados"
23+
"Enabled one feature"="Activando un módulo"
24+
"Error loading level %1%"="Error cargando nivel %1%"
25+
"Explosion was stopped in %1%"="Explosión fue detenida en %1%"
26+
"Gamemode: "="Modo de Juego: "
27+
"Help: "="Ayuda: "
28+
"It can not be broken!"="No se puede romper!"
29+
"Items changed: %1%"="Objetos modificados: %1%"
30+
"Limits number of players\n\tin a world to [value]\n\tuse 0 or -1 to remove limits"="Configura el m´ximo numero de jugadores\n\ten el mundo a [value]\n\tUse 0 o -1 para numero ilimitado"
31+
"Locked\n\tNobody (including op) can build"="Cerrado\n\tNadie (nisiquiera ops) puede armar"
32+
"MOTD:"="Bienvenida:"
33+
"Max Players: "="Max Jugadores: "
34+
"NO features enabled"="No módules activados"
35+
"NoExplode: "="AntiExplosión: "
36+
"No blocks updated"="No se modificó ningún bloque"
37+
"No help for %1%"="No ayuda disponible para %1%"
38+
"No items updated"="Ningún objeto modificado"
39+
"No sub-command specified"="No sub-commando especificado"
40+
"Nothing to report"="Nada para reportar"
41+
"OFF"="APAGADO"
42+
"ON"="PRENDIDO"
43+
"Off in Spawn"="Apagado en zona de aparición"
44+
"Only authorized (or op) can build"="Solo autorizados (o operadores) pueden construir"
45+
"Protect: "="Proteger: "
46+
"PvP: "="PvP: "
47+
"Remove <user> from authorized list"="Sacar <usuario> de la lista autorizada"
48+
"Remove unbreakable status from block"="Quita el estado de irrompible del bloque"
49+
"Set block to unbreakable status"="Activa el estado irrompible para bloque"
50+
"Sets the world game mode"="Configura el modo de juego del mundo"
51+
"Show protections on worlds"="Mostrar protección de mundos"
52+
"Shows world motd text"="Muestra el mensaje de bienvenida a mundo"
53+
"Spectator"="Espectador"
54+
"Survival"="Supervivencia"
55+
"Unable to find level %1%"="No pudo encontrar el mundo %1%"
56+
"Unable to teleport to %1%\nWorld is full"="No se puede teletransportar a %1%\nMundo esta lleno"
57+
"Unban item"="Permitir objeto"
58+
"Unbreakable(%1%): "="Irrompíble(%1%): "
59+
"Unknown feature \"%1%\" ignored."="Module \"%1%\" desconocido, ignorando"
60+
"Unknown sub-command %2% (try /%1% help)"="Sub-comando %2% desconocido (Use /%1% help)"
61+
"Unprotects world"="Desproteger mundo"
62+
"Usage: "="Uso: "
63+
"World %1% does not exist"="Mundo %1% no existe"
64+
"World %1% is not protected"="Mundo %1% no está protegido"
65+
"Worlds: %1%"="Mundos: %1%"
66+
"You are not allowed to do that here"="Usted no está permitido de hacer esto aquí"
67+
"You are not allowed to do this"="Usted no está permitido a hacer esto"
68+
"You are teleporting outside the world"="Está teletransportado fuera del mundo"
69+
"You can not use that item here!"="Usted no puede usar ese objeto aquí!"
70+
"You can only do this in-game"="Solo puede hacer esto dentro del juego"
71+
"You do not have permission to do that."="No tiene permiso para hacer eso"
72+
"You have reached the end of the world"="Ha llegado al fín del mundo"
73+
"[WP] %1%: not found"="[WP] %1%: no se encuentra"
74+
"[WP] %1% Gamemode: %2%"="[WP] %1% modo de juego: %2%"
75+
"[WP] %1% added to %2%'s auth list"="[WP] %1% agregado a la lista autorizada de %2%"
76+
"[WP] %1% gamemode removed"="[WP] %1% no tiene modo de juego"
77+
"[WP] %1% gamemode set to %2%"="[WP] %1% modo de juego es %2%"
78+
"[WP] %1% has no borders"="[WP] %1% no tiene límites"
79+
"[WP] %1% is now LOCKED"="[WP] %1% está CERRADO"
80+
"[WP] %1% is now OPEN"="[WP] %1% está ABIERTO"
81+
"[WP] %1% is now PROTECTED"="[WP] %1% está PROTEGIDO"
82+
"[WP] %1% not known"="[WP] %1% es desconocido"
83+
"[WP] %1% removed from %2%'s auth list"="[WP] %1% fue quitado de la lista autorizada de %2%"
84+
"[WP] Blocks(%1%):"="Bloques(%1%):"
85+
"[WP] Border for %1% is (%2%,%3%)-(%4%,%5%)"="[WP] Límites de %1 son (%2%,%3%)-(%4%,%5%)"
86+
"[WP] Border for %1% removed"="[WP] Quitando límites para %1% "
87+
"[WP] Border for %1% set to (%2%,%3%)-(%4%,%5%)"="[WP] Límites para %1% son (%2%,%3%)-(%4%,%5%)"
88+
"[WP] Explosions Allowed in %1%"="[WP] Explosiones no permitidas en %1%"
89+
"[WP] Explosions allowed in %1%"="[WP] Explosiones no permitidas en %1%"
90+
"[WP] Explosions off in %1%'s spawn"="[WP] Explosiones no permitidas en el punto de aparición de %1%"
91+
"[WP] Explosions stopped in %1%"="[WP] Explosiones prevenidas en %1%"
92+
"[WP] Invalid border specification"="[WP] Límites inválidos"
93+
"[WP] Items(%1%):"="[WP] Objetos(%1%):"
94+
"[WP] Max players in %1% is un-limited"="[WP] Jugadores en %1% es ilimitado"
95+
"[WP] Missing path %1%"="[WP] No hay camino %1%"
96+
"[WP] Must specify a world"="[WP] Debe proporcionar un mundo"
97+
"[WP] NO Explosions in %1%"="[WP] no explosiones en %1%"
98+
"[WP] NO Explosions in %1%'s spawn"="[WP] no explosiones en punto de aparición de %1%"
99+
"[WP] NO PvP in %1%"="No PvP en %1%"
100+
"[WP] NO PvP in %1%'s spawn"="No PvP en punto de aparición de %1%"
101+
"[WP] No banned items in %1%"="[WP] No objetos prohibidos en %1%"
102+
"[WP] No gamemode for %1%"="[WP] No hay modo de juego para %1%"
103+
"[WP] No unbreakable blocks in %1%"="[WP] No bloques irrompíbles en %1%"
104+
"[WP] Player limit for %1% set to %2%"="[WP] Max jugadores de %1% es %2%"
105+
"[WP] Player limit in %1% removed"="[WP] No hay límite de max jugadores en %1%"
106+
"[WP] Players allowed in %1%: %2%"="[WP] Jugadores permitidos en %1%: %2%"
107+
"[WP] PvP in %1% is %2%"="[WP] PvP en %1% es %2%"
108+
"[WP] PvP is allowed in %1%"="[WP] PvP está permitido en %1%"
109+
"[WP] You are not allowed to do this"="[WP] Usted no esta autorizado"
110+
"[WP] You have been added to\n[WP] %1%'s auth list"="[WP] Usted ha sido agregado a\n[WP] la lista autorizada de %1%"
111+
"[WP] You have been removed from\n[WP] %1%'s auth list"="[WP] Usted ha sido quitado de\n[WP] la lista autorizada de %1%"
112+
"[WP] motd for %1% removed"="[WP] motd para %1% borrado"
113+
"[WP] motd for %1% updated"="[WP] motd para %1% actualizado"
114+
"[id] ..."=""
115+
"[id] [id]"=""
116+
"[off|world|spawn]"=""
117+
"[on|off|spawn-off]"=""
118+
"[range|none|x1 z1 x2 z2]"=""
119+
"[text]"="[texto]"
120+
"[value]"="[valor]"
121+
"[world]"="[mundo]"
122+
"auth(%1%)"="autorizado(%1%)"
123+
"bi:"="bp:"
124+
"border"="límite"
125+
"gm:"="mj:"
126+
"max:"=""
127+
"motd"=""
128+
"notnt:"=""
129+
"off"="si"
130+
"on"="no"
131+
"pvp:off"="pvp:no"
132+
"pvp:on"="pvp:si"
133+
"pvp:spawn-off"="pvp:no-spawn"
134+
"spawn"="punto de aparición"
135+
"spawn-off"="no en punto de aparición"
136+
"ubab:"="irrompible:"
137+
"world"="mundo"
138+
"#Usage: /%%s [world] %%s %%s"="Uso: /%%s [world] %%s %%s"

0 commit comments

Comments
 (0)