Skip to content

Commit 58030e3

Browse files
authored
Version 1.3.0 Update! (#31)
What's new? - Hollow shapes. (/b hollow 1/0) - More obsoletes at once (/b obsolete air,stone) - Brush reset (/b reset) - Lots of improvements of code. - Improved API for developers. - Added presets! (/b preset) - Make presets with /b preset add. - Use presets with /b preset <name>. - List presets with /b preset list. - Remove presets with /b preset delete <name>
1 parent 5b588d8 commit 58030e3

51 files changed

Lines changed: 1167 additions & 401 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
/nbproject/private/
2-
/nbproject/project.properties
3-
/nbproject/project.xml
1+
.idea

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
An innovative world editing tool, made for PocketMine-MP: An MCPE server software written in PHP. Worlds can be easily edited using a Golden Carrot, which is used as brush. Find more information about BlockSniper and on how to use it at the [Wiki](https://github.com/Sandertv/BlockSniper/wiki).
33

44
> Third party versions, forks or spoons of PocketMine are **not** supported.
5-
>
5+
>
66
> Issues related to other server softwares will be closed immediately.
77
88
## Installation

plugin.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "BlockSniper"
3-
version: 1.2.1
4-
api: [2.0.0, 2.1.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3]
3+
version: 1.3.0
4+
api: [2.0.0, 2.1.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4]
55
author: "Sandertv"
66
main: Sandertv\BlockSniper\Loader
77

@@ -57,6 +57,9 @@ permissions:
5757
blocksniper.type.flatten:
5858
default: op
5959
description: "Allows access to the flatten type"
60+
blocksniper.type.flattenall:
61+
default: op
62+
description: "Allows access to the flatten all type"
6063
blocksniper.type.expand:
6164
default: op
6265
description: "Allows access to the expand type"

resources/languages/de.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,36 @@ commands:
1616
clone-not-found: "Dieser Klontyp (clone type) konnte nicht gefunden werden."
1717
name-not-set: "Kein gültiger Name wurde festgelegt."
1818
template-not-existing: "Es gibt keine Vorlage mit diesem Namen."
19+
preset-already-exists: "That preset already exists."
20+
preset-doesnt-exist: "That preset doesn't exist."
1921
succeed:
2022
default: "Die Form wurde erfolgreich dort begonnen, wo du hingesehen hast."
2123
undo: "Die letzte Modifikation wurde erfolgreich rückgängig gemacht."
2224
language: "Sprache wurde erfolgreich geändert."
2325
paste: "Klon wurde erfolgreich eingefügt."
2426
clone: "Bereich wurde erfolgreich geklont und kopiert."
27+
brush:
28+
reset: "Der Pinsel wurde erfolgreich zurückgesetzt."
29+
preset:
30+
name: "Preset creation process started. Type a name in the chat,"
31+
cancel: "or type 'cancel' to cancel the process."
32+
canceled: "Preset creation has been canceled."
2533

2634
brushwand:
2735
disable: "Brushwand (Zauberpinsel) wurde deaktiviert."
2836
enable: "Brushwand (Zauberpinsel) wurde aktiviert."
37+
38+
brush:
39+
shape: "Form: "
40+
type: "Typ: "
41+
blocks: "Blöcke: "
42+
size: "Größe: "
43+
perfect: "Perfekt: "
44+
obsolete: "Zu ersetzender Block: "
45+
height: "Höhe: "
46+
gravity: "Gravitation: "
47+
decrement: "Verringern: "
48+
biome: "Biom: "
49+
hollow: "Hohl: "
50+
preset: "Preset: "
2951
...

resources/languages/en.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,36 @@ commands:
1616
clone-not-found: "That clone type could not be found."
1717
name-not-set: "No valid name has been given."
1818
template-not-existing: "A template with that name does not exist."
19+
preset-already-exists: "That preset already exists."
20+
preset-doesnt-exist: "That preset doesn't exist."
1921
succeed:
2022
default: "Successfully launched the shape at the location looked at."
2123
undo: "Successfully undid the last modification."
2224
language: "Language has been changed successfully."
2325
paste: "Pasted the clone successfully."
2426
clone: "Area has been cloned and copied successfully."
27+
brush:
28+
reset: "Brush has been reset successfully."
29+
preset:
30+
name: "Preset creation process started. Type a name in the chat,"
31+
cancel: "or type 'cancel' to cancel the process."
32+
canceled: "Preset creation has been canceled."
2533

2634
brushwand:
2735
disable: "Brushwand has been disabled."
2836
enable: "Brushwand has been enabled."
37+
38+
brush:
39+
shape: "Shape: "
40+
type: "Type: "
41+
blocks: "Blocks: "
42+
size: "Size: "
43+
perfect: "Perfect: "
44+
obsolete: "Obsolete: "
45+
height: "Height: "
46+
gravity: "Gravity: "
47+
decrement: "Decrement: "
48+
biome: "Biome: "
49+
hollow: "Hollow: "
50+
preset: "Preset: "
2951
...

resources/languages/fa.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,36 @@ commands:
1515
no-valid-block: "Block yaft nashod, ID/name block ra benevisid."
1616
shape-not-found: "Shekl ya Type yaft nashod."
1717
no-modifications: "Shoma hich taghiri anjam nadadid ke Undo konid."
18+
preset-already-exists: "That preset already exists."
19+
preset-doesnt-exist: "That preset doesn't exist."
1820
succeed:
1921
paste: "Clone paste shode."
2022
clone: "Clone ba movafaghit anjam shod."
2123
default: "Shape ba movafaghiat lunch shod."
2224
undo: "Taghir Undo shod."
2325
language: "Zaban Morede Nazar Be Farsi(Persian) Taghir Yaft."
26+
brush:
27+
reset: "Brush has been reset successfully."
28+
preset:
29+
name: "Preset creation process started. Type a name in the chat,"
30+
cancel: "or type 'cancel' to cancel the process."
31+
canceled: "Preset creation has been canceled."
32+
2433
brushwand:
2534
disable: "Brushwand ghirefaal shod."
2635
enable: "Brushwand faal shod."
36+
37+
brush:
38+
shape: "Shape: "
39+
type: "Type: "
40+
blocks: "Blocks: "
41+
size: "Size: "
42+
perfect: "Perfect: "
43+
obsolete: "Obsolete: "
44+
height: "Height: "
45+
gravity: "Gravity: "
46+
decrement: "Decrement: "
47+
biome: "Biome: "
48+
hollow: "Hollow: "
49+
preset: "Preset: "
2750
...

resources/languages/fr.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,36 @@ commands:
1616
name-not-set: "Veuillez donner un nom"
1717
paste-not-found: "Copie introuvable"
1818
clone-not-found: "Clone introuvable"
19+
preset-already-exists: "That preset already exists."
20+
preset-doesnt-exist: "That preset doesn't exist."
1921
succeed:
2022
default: "La forme a été ajoutée avec succès"
2123
undo: "Annulé avec succès"
2224
language: "La langue a été changé"
2325
paste: "Collage effectué avec succès"
2426
clone: "Clone réalisé avec succès"
25-
27+
brush:
28+
reset: "Le pinceau a été réinitialisé avec succès"
29+
preset:
30+
name: "Preset creation process started. Type a name in the chat,"
31+
cancel: "or type 'cancel' to cancel the process."
32+
canceled: "Preset creation has been canceled."
2633

2734
brushwand:
2835
disable: "Pinceau désactivé"
2936
enable: "Pinceau activé"
37+
38+
brush:
39+
shape: "Couche: "
40+
type: "Type: "
41+
blocks: "Blocs: "
42+
size: "Taille: "
43+
perfect: "Parfait: "
44+
obsolete: "Obsolète: "
45+
height: "Hauteur: "
46+
gravity: "Gravité: "
47+
decrement: "Diminuer: "
48+
biome: "Biome: "
49+
hollow: "Creux: "
50+
preset: "Preset: "
3051
...

resources/languages/nl.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,36 @@ commands:
1616
clone-not-found: "Dat kloon-type kon niet gevonden worden."
1717
name-not-set: "Er is geen naam gegeven."
1818
template-not-existing: "Er bestaat geen template met die naam."
19+
preset-already-exists: "Die voorinstellingen bestaan al."
20+
preset-doesnt-exist: "Die voorinstellingen bestaan niet."
1921
succeed:
2022
default: "Afvuren van vorm geslaagd."
2123
undo: "Terugdraaien van vorige modificatie geslaagd."
2224
language: "Taal veranderen is geslaagd."
2325
paste: "Kloon plakken is geslaagd."
2426
clone: "Het kopieëren van de zone is geslaagd."
27+
brush:
28+
reset: "Het resetten van de de verf is geslaagd."
29+
preset:
30+
name: "Voorinstellingen maken gestart. Type een naam in de chat,"
31+
cancel: "of type 'cancel' om het proces te stoppen."
32+
canceled: "Voorinstellingen maken afgebroken."
2533

2634
brushwand:
2735
disable: "Verfstaf is uitgeschakeld."
2836
enable: "Verfstaf is ingeschakeld."
37+
38+
brush:
39+
shape: "Vorm: "
40+
type: "Type: "
41+
blocks: "Blokken: "
42+
size: "Grootte: "
43+
perfect: "Perfect: "
44+
obsolete: "Vervangen: "
45+
height: "Hoogte: "
46+
gravity: "Zwaartekracht: "
47+
decrement: "Verkleinend: "
48+
biome: "Biome: "
49+
hollow: "Hol: "
50+
preset: "Voorinstelling: "
2951
...

resources/languages/ro.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Limba Romana de catre NycuRO
2+
3+
# Romana:
4+
---
5+
commands:
6+
errors:
7+
no-permission: "Nu ai permisiunea pentru a face acest lucru."
8+
console-use: "Aceasta comanda nu poate fi executata de consola."
9+
radius-not-numeric: "Raza trebuie sa fie exprimata intr-un numar."
10+
radius-too-big: "Raza este prea mare. Te rog sa introduci un numar mai mic."
11+
no-target-found: "Nici un bloc tinta gasit."
12+
no-valid-block: "Blocul nu a fost gasit. Te rog sa introduci un ID valid."
13+
shape-not-found: "Forma sau alt tip nu a fost gasit."
14+
no-modifications: "Nu se poate gasii o modificare pentru a remedia."
15+
paste-not-found: "Nu se poate gasii o lipire disponibila."
16+
clone-not-found: "Nu poate fi gasita o clona."
17+
name-not-set: "Acest nume nu este valid."
18+
template-not-existing: "Nici un sablon nu a fost gasit cu acest nume."
19+
preset-already-exists: "Acest preset deja exista."
20+
preset-doesnt-exist: "Acest preset nu exista."
21+
succeed:
22+
default: "Ai aruncat/lipit cu succes o forma in locul tinta."
23+
undo: "Ai remediat cu succes lucrarea facuta."
24+
language: "Limba a fost schimbata cu succes."
25+
paste: "Ai lipit clona cu succes."
26+
clone: "Zona a fost clonata cu succes."
27+
brush:
28+
reset: "Brush a fost resetata cu succes."
29+
preset:
30+
name: "Presetarea a inceput. Te rog sa introduci un nume in chat"
31+
cancel: "sau scrie 'cancel' pentru a iesi din proces."
32+
canceled: "Presetarea procesului s-a incheiat."
33+
34+
brushwand:
35+
disable: "Brushwand este dezactivat."
36+
enable: "Brushwand s-a activat cu succes."
37+
38+
brush:
39+
shape: "Forme: "
40+
type: "Tipuri: "
41+
blocks: "Blocuri: "
42+
size: "Marime: "
43+
perfect: "Perfect: "
44+
obsolete: "Invechite: "
45+
height: "Inaltime: "
46+
gravity: "Gravitate: "
47+
decrement: "Decrementare: "
48+
biome: "Biome: "
49+
hollow: "Gol: "
50+
preset: "Presetat: "
51+
...

resources/languages/ru.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Russian translations, by infomcpe.
1+
# Russian translations, by infomcpe.ru
22
# Russian:
33
---
44
commands:
@@ -13,16 +13,38 @@ commands:
1313
no-modifications: "Не найдено модификаций чтобы отметить."
1414
paste-not-found: "Такой тип вставки не может быть выполнен."
1515
clone-not-found: "Такой тип копирования не модет быть выполнен."
16-
name-not-set: "No valid name has been given."
17-
template-not-existing: "A template with that name does not exist."
16+
name-not-set: "Не указано действительное имя."
17+
template-not-existing: "Шаблон с этим именем не существует."
18+
preset-already-exists: "Этот предустановка уже существует."
19+
preset-doesnt-exist: "Предустановка не найдена."
1820
succeed:
1921
default: "Успешно создано."
2022
undo: "Успешно удалена последния модификациия"
2123
language: "Смена языка удалась."
2224
paste: "Установка скопированой территории удалась."
2325
clone: "Територия была скопирована успешно."
26+
brush:
27+
reset: "Кисть успешно сброшена."
28+
preset:
29+
name: "Запустился процесс создания предустановки. Введите имя в чате,"
30+
cancel: "или введите «cancel», чтобы отменить процесс."
31+
canceled: "Создание предустановки отменено."
2432

2533
brushwand:
2634
disable: "Brushwand Отключен"
2735
enable: "Brushwand Включён."
36+
37+
brush:
38+
shape: "Форма: "
39+
type: "Тип: "
40+
blocks: "Блоки: "
41+
size: "Размер: "
42+
perfect: "Отлично: "
43+
obsolete: "Устарел: "
44+
height: "Высота: "
45+
gravity: "Сила тяжести: "
46+
decrement: "Уменьшение: "
47+
biome: "Биом: "
48+
hollow: "Полый: "
49+
preset: "Предустановка: "
2850
...

0 commit comments

Comments
 (0)