Skip to content

Commit

Permalink
Version 1.3.0 Update! (#31)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sandertv authored Mar 17, 2017
1 parent 5b588d8 commit 58030e3
Show file tree
Hide file tree
Showing 51 changed files with 1,167 additions and 401 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/nbproject/private/
/nbproject/project.properties
/nbproject/project.xml
.idea
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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).

> Third party versions, forks or spoons of PocketMine are **not** supported.
>
>
> Issues related to other server softwares will be closed immediately.
## Installation
Expand Down
7 changes: 5 additions & 2 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "BlockSniper"
version: 1.2.1
api: [2.0.0, 2.1.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3]
version: 1.3.0
api: [2.0.0, 2.1.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4]
author: "Sandertv"
main: Sandertv\BlockSniper\Loader

Expand Down Expand Up @@ -57,6 +57,9 @@ permissions:
blocksniper.type.flatten:
default: op
description: "Allows access to the flatten type"
blocksniper.type.flattenall:
default: op
description: "Allows access to the flatten all type"
blocksniper.type.expand:
default: op
description: "Allows access to the expand type"
Expand Down
22 changes: 22 additions & 0 deletions resources/languages/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,36 @@ commands:
clone-not-found: "Dieser Klontyp (clone type) konnte nicht gefunden werden."
name-not-set: "Kein gültiger Name wurde festgelegt."
template-not-existing: "Es gibt keine Vorlage mit diesem Namen."
preset-already-exists: "That preset already exists."
preset-doesnt-exist: "That preset doesn't exist."
succeed:
default: "Die Form wurde erfolgreich dort begonnen, wo du hingesehen hast."
undo: "Die letzte Modifikation wurde erfolgreich rückgängig gemacht."
language: "Sprache wurde erfolgreich geändert."
paste: "Klon wurde erfolgreich eingefügt."
clone: "Bereich wurde erfolgreich geklont und kopiert."
brush:
reset: "Der Pinsel wurde erfolgreich zurückgesetzt."
preset:
name: "Preset creation process started. Type a name in the chat,"
cancel: "or type 'cancel' to cancel the process."
canceled: "Preset creation has been canceled."

brushwand:
disable: "Brushwand (Zauberpinsel) wurde deaktiviert."
enable: "Brushwand (Zauberpinsel) wurde aktiviert."

brush:
shape: "Form: "
type: "Typ: "
blocks: "Blöcke: "
size: "Größe: "
perfect: "Perfekt: "
obsolete: "Zu ersetzender Block: "
height: "Höhe: "
gravity: "Gravitation: "
decrement: "Verringern: "
biome: "Biom: "
hollow: "Hohl: "
preset: "Preset: "
...
22 changes: 22 additions & 0 deletions resources/languages/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,36 @@ commands:
clone-not-found: "That clone type could not be found."
name-not-set: "No valid name has been given."
template-not-existing: "A template with that name does not exist."
preset-already-exists: "That preset already exists."
preset-doesnt-exist: "That preset doesn't exist."
succeed:
default: "Successfully launched the shape at the location looked at."
undo: "Successfully undid the last modification."
language: "Language has been changed successfully."
paste: "Pasted the clone successfully."
clone: "Area has been cloned and copied successfully."
brush:
reset: "Brush has been reset successfully."
preset:
name: "Preset creation process started. Type a name in the chat,"
cancel: "or type 'cancel' to cancel the process."
canceled: "Preset creation has been canceled."

brushwand:
disable: "Brushwand has been disabled."
enable: "Brushwand has been enabled."

brush:
shape: "Shape: "
type: "Type: "
blocks: "Blocks: "
size: "Size: "
perfect: "Perfect: "
obsolete: "Obsolete: "
height: "Height: "
gravity: "Gravity: "
decrement: "Decrement: "
biome: "Biome: "
hollow: "Hollow: "
preset: "Preset: "
...
23 changes: 23 additions & 0 deletions resources/languages/fa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,36 @@ commands:
no-valid-block: "Block yaft nashod, ID/name block ra benevisid."
shape-not-found: "Shekl ya Type yaft nashod."
no-modifications: "Shoma hich taghiri anjam nadadid ke Undo konid."
preset-already-exists: "That preset already exists."
preset-doesnt-exist: "That preset doesn't exist."
succeed:
paste: "Clone paste shode."
clone: "Clone ba movafaghit anjam shod."
default: "Shape ba movafaghiat lunch shod."
undo: "Taghir Undo shod."
language: "Zaban Morede Nazar Be Farsi(Persian) Taghir Yaft."
brush:
reset: "Brush has been reset successfully."
preset:
name: "Preset creation process started. Type a name in the chat,"
cancel: "or type 'cancel' to cancel the process."
canceled: "Preset creation has been canceled."

brushwand:
disable: "Brushwand ghirefaal shod."
enable: "Brushwand faal shod."

brush:
shape: "Shape: "
type: "Type: "
blocks: "Blocks: "
size: "Size: "
perfect: "Perfect: "
obsolete: "Obsolete: "
height: "Height: "
gravity: "Gravity: "
decrement: "Decrement: "
biome: "Biome: "
hollow: "Hollow: "
preset: "Preset: "
...
23 changes: 22 additions & 1 deletion resources/languages/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,36 @@ commands:
name-not-set: "Veuillez donner un nom"
paste-not-found: "Copie introuvable"
clone-not-found: "Clone introuvable"
preset-already-exists: "That preset already exists."
preset-doesnt-exist: "That preset doesn't exist."
succeed:
default: "La forme a été ajoutée avec succès"
undo: "Annulé avec succès"
language: "La langue a été changé"
paste: "Collage effectué avec succès"
clone: "Clone réalisé avec succès"

brush:
reset: "Le pinceau a été réinitialisé avec succès"
preset:
name: "Preset creation process started. Type a name in the chat,"
cancel: "or type 'cancel' to cancel the process."
canceled: "Preset creation has been canceled."

brushwand:
disable: "Pinceau désactivé"
enable: "Pinceau activé"

brush:
shape: "Couche: "
type: "Type: "
blocks: "Blocs: "
size: "Taille: "
perfect: "Parfait: "
obsolete: "Obsolète: "
height: "Hauteur: "
gravity: "Gravité: "
decrement: "Diminuer: "
biome: "Biome: "
hollow: "Creux: "
preset: "Preset: "
...
22 changes: 22 additions & 0 deletions resources/languages/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,36 @@ commands:
clone-not-found: "Dat kloon-type kon niet gevonden worden."
name-not-set: "Er is geen naam gegeven."
template-not-existing: "Er bestaat geen template met die naam."
preset-already-exists: "Die voorinstellingen bestaan al."
preset-doesnt-exist: "Die voorinstellingen bestaan niet."
succeed:
default: "Afvuren van vorm geslaagd."
undo: "Terugdraaien van vorige modificatie geslaagd."
language: "Taal veranderen is geslaagd."
paste: "Kloon plakken is geslaagd."
clone: "Het kopieëren van de zone is geslaagd."
brush:
reset: "Het resetten van de de verf is geslaagd."
preset:
name: "Voorinstellingen maken gestart. Type een naam in de chat,"
cancel: "of type 'cancel' om het proces te stoppen."
canceled: "Voorinstellingen maken afgebroken."

brushwand:
disable: "Verfstaf is uitgeschakeld."
enable: "Verfstaf is ingeschakeld."

brush:
shape: "Vorm: "
type: "Type: "
blocks: "Blokken: "
size: "Grootte: "
perfect: "Perfect: "
obsolete: "Vervangen: "
height: "Hoogte: "
gravity: "Zwaartekracht: "
decrement: "Verkleinend: "
biome: "Biome: "
hollow: "Hol: "
preset: "Voorinstelling: "
...
51 changes: 51 additions & 0 deletions resources/languages/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Limba Romana de catre NycuRO

# Romana:
---
commands:
errors:
no-permission: "Nu ai permisiunea pentru a face acest lucru."
console-use: "Aceasta comanda nu poate fi executata de consola."
radius-not-numeric: "Raza trebuie sa fie exprimata intr-un numar."
radius-too-big: "Raza este prea mare. Te rog sa introduci un numar mai mic."
no-target-found: "Nici un bloc tinta gasit."
no-valid-block: "Blocul nu a fost gasit. Te rog sa introduci un ID valid."
shape-not-found: "Forma sau alt tip nu a fost gasit."
no-modifications: "Nu se poate gasii o modificare pentru a remedia."
paste-not-found: "Nu se poate gasii o lipire disponibila."
clone-not-found: "Nu poate fi gasita o clona."
name-not-set: "Acest nume nu este valid."
template-not-existing: "Nici un sablon nu a fost gasit cu acest nume."
preset-already-exists: "Acest preset deja exista."
preset-doesnt-exist: "Acest preset nu exista."
succeed:
default: "Ai aruncat/lipit cu succes o forma in locul tinta."
undo: "Ai remediat cu succes lucrarea facuta."
language: "Limba a fost schimbata cu succes."
paste: "Ai lipit clona cu succes."
clone: "Zona a fost clonata cu succes."
brush:
reset: "Brush a fost resetata cu succes."
preset:
name: "Presetarea a inceput. Te rog sa introduci un nume in chat"
cancel: "sau scrie 'cancel' pentru a iesi din proces."
canceled: "Presetarea procesului s-a incheiat."

brushwand:
disable: "Brushwand este dezactivat."
enable: "Brushwand s-a activat cu succes."

brush:
shape: "Forme: "
type: "Tipuri: "
blocks: "Blocuri: "
size: "Marime: "
perfect: "Perfect: "
obsolete: "Invechite: "
height: "Inaltime: "
gravity: "Gravitate: "
decrement: "Decrementare: "
biome: "Biome: "
hollow: "Gol: "
preset: "Presetat: "
...
28 changes: 25 additions & 3 deletions resources/languages/ru.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Russian translations, by infomcpe.
# Russian translations, by infomcpe.ru
# Russian:
---
commands:
Expand All @@ -13,16 +13,38 @@ commands:
no-modifications: "Не найдено модификаций чтобы отметить."
paste-not-found: "Такой тип вставки не может быть выполнен."
clone-not-found: "Такой тип копирования не модет быть выполнен."
name-not-set: "No valid name has been given."
template-not-existing: "A template with that name does not exist."
name-not-set: "Не указано действительное имя."
template-not-existing: "Шаблон с этим именем не существует."
preset-already-exists: "Этот предустановка уже существует."
preset-doesnt-exist: "Предустановка не найдена."
succeed:
default: "Успешно создано."
undo: "Успешно удалена последния модификациия"
language: "Смена языка удалась."
paste: "Установка скопированой территории удалась."
clone: "Територия была скопирована успешно."
brush:
reset: "Кисть успешно сброшена."
preset:
name: "Запустился процесс создания предустановки. Введите имя в чате,"
cancel: "или введите «cancel», чтобы отменить процесс."
canceled: "Создание предустановки отменено."

brushwand:
disable: "Brushwand Отключен"
enable: "Brushwand Включён."

brush:
shape: "Форма: "
type: "Тип: "
blocks: "Блоки: "
size: "Размер: "
perfect: "Отлично: "
obsolete: "Устарел: "
height: "Высота: "
gravity: "Сила тяжести: "
decrement: "Уменьшение: "
biome: "Биом: "
hollow: "Полый: "
preset: "Предустановка: "
...
22 changes: 22 additions & 0 deletions resources/languages/zh_tw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,36 @@ commands:
clone-not-found: "該模型模式未找到"
name-not-set: "名稱未設置"
template-not-existing: "未找到該名稱的模型模板"
preset-already-exists: "That preset already exists."
preset-doesnt-exist: "That preset doesn't exist."
succeed:
default: "成功在自身座標上建立形狀"
undo: "成功還原先前動作"
language: "成功改變語言檔案"
paste: "成功複製模型"
clone: "該範圍的模型成功建立"
brush:
reset: "Brush has been reset successfully."
preset:
name: "Preset creation process started. Type a name in the chat,"
cancel: "or type 'cancel' to cancel the process."
canceled: "Preset creation has been canceled."

brushwand:
disable: "刷子功能成功關閉"
enable: "刷子功能成功開啟"

brush:
shape: "Shape: "
type: "Type: "
blocks: "Blocks: "
size: "Size: "
perfect: "Perfect: "
obsolete: "Obsolete: "
height: "Height: "
gravity: "Gravity: "
decrement: "Decrement: "
biome: "Biome: "
hollow: "Hollow: "
preset: "Preset: "
...
3 changes: 3 additions & 0 deletions resources/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Brush-Item: 396
# Maximum radius for shapes/types, it is recommended to keep this number below 20 to prevent server freezes and lag.
Maximum-Radius: 15

# Maximum radius/height for clones, it is recommended to keep this number below 60 to prevent server freezes and lag.
Maximum-Clone-Size: 60

# Maximum undo stores to save, old ones will get destroyed automatically. Setting this number too high could result in lag or data loss.
Maximum-Undo-Stores: 15

Expand Down
Loading

0 comments on commit 58030e3

Please sign in to comment.