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

Commit 925b6c4

Browse files
committed
Clean-up for use library, translated to Spanish, removed braodcast setting
1 parent 78c92ad commit 925b6c4

8 files changed

Lines changed: 366 additions & 135 deletions

File tree

README.md

Lines changed: 53 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
1-
SignWarp
2-
========
1+
<img src="https://raw.githubusercontent.com/alejandroliu/pocketmine-plugins/master/Media/SignWarp-icon.png" style="width:64px;height:64px" width="64" height="64"/>
2+
3+
# SignWarp
34

45
* Summary: Warp between places using signs
56
* Dependency Plugins: n/a
67
* PocketMine-MP version: 1.4 - API 1.10.0
7-
* OptionalPlugins: ManyWorlds, FastTransfer
8+
* OptionalPlugins: FastTransfer
89
* Categories: Teleportation
9-
* Plugin Access: Commands, Tile Entities, Items/Blocks
10+
* Plugin Access: Other Plugins, Commands, Tile Entities, Manages worlds
1011
* WebSite: [github](https://github.com/alejandroliu/pocketmine-plugins/tree/master/SignWarp)
1112

12-
Overview
13-
--------
13+
## Overview
14+
15+
**DO NOT POST QUESTION/BUG-REPORTS/REQUESTS IN THE REVIEWS**
16+
It is difficult to carry a conversation in the reviews. If you have a
17+
question/bug-report/request please use the
18+
[Thread](http://forums.pocketmine.net/threads/signwarp.7276/) for
19+
that. You are more likely to get a response and help that way.
1420

15-
A very basic Plugin implementing simple _Sign_ based warps.
21+
Please go to
22+
[github](https://github.com/alejandroliu/pocketmine-plugins/tree/master/SignWarp)
23+
for the most up-to-date documentation.
24+
25+
A Plugin implementing simple _Sign_ based warps.
1626

1727
Basic Usage:
1828

@@ -41,9 +51,7 @@ For Warp between servers use:
4151

4252
You need the **FastTransfer** plugin for this to work.
4353

44-
45-
Documentation
46-
-------------
54+
## Documentation
4755

4856
This plugin implements _warps_ through the placement of _signs_. You
4957
need to create a sign with the text:
@@ -73,7 +81,7 @@ target location. If not specified it defaults to the `spawn` world.
7381

7482
If dynamic updates are enabled, the fourth line can contain the text
7583
`Players:`, which will get updated dynamically with the number of
76-
players on that world. Otherwise the ine is ignored and can be
84+
players on that world. Otherwise the ine is ignored and can
7785
contain any descriptive text.
7886

7987
To help identify potential _warp_ targets, the command `xyz` is
@@ -93,57 +101,40 @@ can be used for description.
93101

94102
You need the **FastTransfer** plugin for this to work.
95103

96-
### config.yml
97-
98-
---
99-
# Example config.yml
100-
settings:
101-
dynamic-updates: true
102-
broadcast-tp: true
103-
xyz.cmd: true
104-
text:
105-
world:
106-
- '[WORLD]'
107-
- '[MUNDO]'
108-
warp:
109-
- '[WARP]'
110-
- '[SWARP]'
111-
- '[TELEPORT]'
112-
transfer:
113-
- '[TRANSFER]'
114-
players:
115-
- 'Players:'
116-
- 'Jugadores:'
117-
...
118-
119-
* dynamic-updates: 1 or 0, true or false
120-
If enabled, signs will be updated with the number of players in a
121-
particular world.
122-
* broadcast-tp: 1 or 0, true or false
123-
If enabled, teleports will be broadcast to all players.
124-
* xyz.cmd: 1 or 0, true or false
125-
If enabled, the `xyz` command will be available.
126-
* world:
127-
List of texts to use for `[WORLD]` teleport signs.
128-
* warp:
129-
List of texts to use for `[SWARP]` teleport signs.
130-
* transfer:
131-
List of texts to use for Transfer signs.
132-
* players:
133-
List of texts to use for the `Players:` counters.
134-
135-
### Permission Nodes:
136-
137-
* signwarp.cmd.xyz - Allows the user to show current x,y,z coordinates
138-
* signwarp.place.sign - Allow user to create warp signs
139-
* signwarp.place.transfer.sign - Allow user to create transfer signs
140-
* signwarp.touch.sign - Allow user to use warp signs
141-
* signwarp.touch.transfer.sign - Allow user to use transfer signs
142-
143-
144-
Changes
145-
-------
104+
### Configuration
105+
106+
Configuration is throug the `config.yml` file.
107+
The following sections are defined:
108+
109+
#### config.yml
110+
111+
* settings: configurable variables
112+
* dynamic updates: Signs will be udpated with the number of players in a world
113+
* xyz.cmd: If true, the **xyz** command will be available
114+
* text: Text displayed on the different signs
115+
* transfer: Fast transfer signs
116+
* world: World teleport signs
117+
* warp: Local world teleport signs
118+
* players: Text to use when displaying player counts
146119

120+
121+
### Permission Nodes
122+
123+
* signwarp.place.sign : Allow user to create warp
124+
(Defaults to Op)
125+
* signwarp.touch.sign : Allow user to use warp
126+
* signwarp.place.transfer.sign : Allow user to create transfer signs
127+
(Defaults to Op)
128+
* signwarp.touch.transfer.sign : Allow user to use transfer signs
129+
* signwarp.cmd.xyz : Shows current x,y,z coordinates
130+
131+
132+
# Changes
133+
134+
* 1.4.0:
135+
* Clean-up and use library stuff
136+
* Removed broadcast setting
137+
* Translations: Spanish
147138
* 1.3.2: CallbackTask
148139
* Removed CallbackTask deprecation warnings
149140
* 1.3.1: FastTransfer
@@ -175,7 +166,6 @@ FAQ
175166
* You can use a plugin like `ManyWorlds` or modify the `worlds` secion
176167
in your `pocketmine.yml` file.
177168

178-
179169
Copyright
180170
=========
181171

@@ -198,3 +188,4 @@ Copyright
198188

199189
128 70 128
200190
X:-100 Y:69 Z:1072
191+

plugin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: SignWarp
22
api: [1.10.0]
3-
version: 1.3.2
3+
version: 1.4.0
44
load: POSTWORLD
55
main: aliuly\signwarp\Main
66
author: aliuly
7-
softdepend: [ManyWorlds,FastTransfer]
7+
softdepend: [FastTransfer]
88

99
permissions:
1010
signwarp.place.sign:

resources/messages/messages.ini

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
; messages.ini
2+
"%1%-mode"=""
3+
"- Player: %1% => %2%:%3%"=""
4+
"/xyz"=""
5+
"Adventure"=""
6+
"Can not teleport while holding sign!"=""
7+
"Creative"=""
8+
"Did you expect something to happen?"=""
9+
"Disabling FastTransfer support"=""
10+
"Enabling FastTransfer support"=""
11+
"FAST TRANSFER NOT INSTALLED"=""
12+
"FastTransfer being used hope it works!"=""
13+
"N/A"=""
14+
"Nothing happens!"=""
15+
"Nothing happens..."=""
16+
"Returns x,y,z coordinates"=""
17+
"Somebody removed FastTransfer!"=""
18+
"Spectator"=""
19+
"Survival"=""
20+
"Teleporting..."=""
21+
"You are at %1%,%2%,%3%"=""
22+
"You are not allowed to make Warp signs"=""
23+
"You are not allowed to make\nTransfer Warp signs"=""
24+
"You can only do this in-game"=""
25+
"You do not have permission to do that."=""
26+
"[SignWarp] Error loading \"%1%\""=""
27+
"[SignWarp] INTERNAL ERROR"=""
28+
"[SignWarp] Invalid coordinates %1%"=""
29+
"[SignWarp] Loading \"%1%\""=""
30+
"[SignWarp] No World specified"=""
31+
"[SignWarp] No coordinates specified"=""
32+
"[SignWarp] Portal to %1% created by %2%"=""
33+
"[SignWarp] This command may only be used in-game"=""
34+
"[SignWarp] Transfer portal %1% created by %2%"=""
35+
"[SignWarp] Unable to load world \"%1%\""=""
36+
"[SignWarp] Warp to %1%,%2%,%3% created by %4%"=""
37+
"[SignWarp] World \"%1%\" does not exist!"=""
38+
"dynamic-updates: OFF"=""
39+
"dynamic-updates: ON"=""
40+
"enabled /xyz command"=""

resources/messages/spa.ini

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
; spa.ini
2+
"%1%-mode"="modo-%1%"
3+
"- Player: %1% => %2%:%3%"="- Jugador: %1% => %2%:%3%"
4+
"/xyz"="/xyz"
5+
"Adventure"="Aventura"
6+
"Can not teleport while holding sign!"="No se puede teletransportar si tiene un cartel en la mano!"
7+
"Creative"="Creativo"
8+
"Did you expect something to happen?"="Esperabas que ocurra algo?"
9+
"Disabling FastTransfer support"="Des-habilitando compatibilidad con FastTransfer"
10+
"Enabling FastTransfer support"="Habilitando carteles con FastTransfer"
11+
"FAST TRANSFER NOT INSTALLED"="FAST TRANSFER NO ESTÁ INSTALADO"
12+
"FastTransfer being used hope it works!"="Usando FastTransfer. Espero que funcione"
13+
"N/A"="N/A"
14+
"Nothing happens!"="No pasa nada!"
15+
"Nothing happens..."="No pasa nada..."
16+
"Returns x,y,z coordinates"="Muestra la ubicación x,y,z"
17+
"Somebody removed FastTransfer!"="Algien borró FastTransfer!"
18+
"Spectator"="Espectador"
19+
"Survival"="Supervivencia"
20+
"Teleporting..."="Teletransportando..."
21+
"You are at %1%,%2%,%3%"="Usted está en %1%,%2%,%3%"
22+
"You are not allowed to make Warp signs"="No tiene permiso para crear carteles de Warp"
23+
"You are not allowed to make\nTransfer Warp signs"="No tiene permiso para create carteles the FastTransfer"
24+
"You can only do this in-game"="Solo puede hacer eso en juego"
25+
"You do not have permission to do that."="No tiene permitido hacer eso"
26+
"[SignWarp] Error loading \"%1%\""="[SignWarp] Problemas cargando %1%"
27+
"[SignWarp] INTERNAL ERROR"="[SignWarp] ERROR INTERNO"
28+
"[SignWarp] Invalid coordinates %1%"="[SignWarp] Coordenadas no validas"
29+
"[SignWarp] Loading \"%1%\""="Cargando \"%1%\""
30+
"[SignWarp] No World specified"="[SignWarp] No hay mundo proporcionado"
31+
"[SignWarp] No coordinates specified"="[SignWarp] No se proporcionó coordenadas"
32+
"[SignWarp] Portal to %1% created by %2%"="[SignWarp] Portal a %1% creado por %2%"
33+
"[SignWarp] This command may only be used in-game"="[SignWarp] Solo se puede usar "
34+
"[SignWarp] Transfer portal %1% created by %2%"="[SignWarp] Portal de Transferencia a %1% creado por %2%"
35+
"[SignWarp] Unable to load world \"%1%\""="[SignWarp] No se pudo cargar %1%"
36+
"[SignWarp] Warp to %1%,%2%,%3% created by %4%"="[SignWarp] Warp para %1%,%2%,%3% creado por %4%"
37+
"[SignWarp] World \"%1%\" does not exist!"="[SignWarp] %1% no existe"
38+
"dynamic-updates: OFF"=""
39+
"dynamic-updates: ON"=""
40+
"enabled /xyz command"="Comando /xyz activado"

0 commit comments

Comments
 (0)