From 9e2ddeb55321b09086a5a27254197d783847e6e3 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:50:36 +0200 Subject: Initial commit --- src/main/resources/config.json | 4 ++ src/main/resources/descriptor.json | 59 +++++++++++++++++++++++++++ src/main/resources/lang/de-DE.properties | 2 + src/main/resources/lang/en-GB.properties | 28 +++++++++++++ src/main/resources/plugin.yml | 9 ++++ src/main/resources/schematics/test.schematic | Bin 0 -> 187 bytes 6 files changed, 102 insertions(+) create mode 100755 src/main/resources/config.json create mode 100755 src/main/resources/descriptor.json create mode 100755 src/main/resources/lang/de-DE.properties create mode 100755 src/main/resources/lang/en-GB.properties create mode 100755 src/main/resources/plugin.yml create mode 100755 src/main/resources/schematics/test.schematic (limited to 'src/main/resources') diff --git a/src/main/resources/config.json b/src/main/resources/config.json new file mode 100755 index 0000000..d074011 --- /dev/null +++ b/src/main/resources/config.json @@ -0,0 +1,4 @@ +{ + "locale": "en-GB", + "world": "instance" +} \ No newline at end of file diff --git a/src/main/resources/descriptor.json b/src/main/resources/descriptor.json new file mode 100755 index 0000000..1852c2c --- /dev/null +++ b/src/main/resources/descriptor.json @@ -0,0 +1,59 @@ +[ + { + "file": "test.schematic", + "name": "testmap", + "players": 4, + "spawn": [ 2, 1, 2 ], + "pointMultiplier": 1.0, + "mobs": [ + { + "position": [ 2, 1, 2 ], + "type": 54, + "rounds": "%round% == 1 || %round% == 2", + "levers": [ ] + }, + { + "position": [ 2, 1, 2 ], + "type": 51, + "rounds": "%round% > 2", + "levers": [ 0 ] + } + ], + "chests": [ + { + "position": [ 2, 1, 1 ], + "cost": 1000, + "facing": "SOUTH" + }, + { + "position": [ 3, 1, 2 ], + "cost": 1000, + "facing": "WEST" + }, + { + "position": [ 2, 1, 3 ], + "cost": 1000, + "facing": "NORTH" + } + ], + "powerups": [ + { + "position": [ 3, 2, 2 ], + "item": "DIAMOND_SWORD", + "enchantment": + { + "type": "DAMAGE_ALL", + "level": 1 + }, + "cost": 100 + } + ], + "levers": [ + { + "position": [ 0, 0, 0 ], + "cost": 100, + "toggle": [ ] + } + ] + } +] \ No newline at end of file diff --git a/src/main/resources/lang/de-DE.properties b/src/main/resources/lang/de-DE.properties new file mode 100755 index 0000000..fcce013 --- /dev/null +++ b/src/main/resources/lang/de-DE.properties @@ -0,0 +1,2 @@ +no_player=Dieser Befehl kann nur durch einen Spieler aufgefuehrt werden. +no_permission=Du hast keine Rechte fuer diesen Befehl. diff --git a/src/main/resources/lang/en-GB.properties b/src/main/resources/lang/en-GB.properties new file mode 100755 index 0000000..c382408 --- /dev/null +++ b/src/main/resources/lang/en-GB.properties @@ -0,0 +1,28 @@ +no_player=This command can only be issued by a player. +no_permission=You dont have permission for this command. +lobby_create_success=Lobby has been created. +lobby_create_identifier=A lobby with that identifier already exists. +lobby_create_membership=You are already in a lobby. +lobby_create_map=A map with that name does not exist. +lobby_disbanded=Your lobby has been disbanded. +lobby_leave_success=You have left the lobby. +lobby_leave_membership=You are in no lobby. +lobby_left=%player% left your lobby. +lobby_joined=%player% joined your lobby. +lobby_join_full=The specified lobby is full. +lobby_join_identifier=A lobby with that identifier does not exist. +lobby_join_success=You joined the lobby. +lobby_list=List of lobbies: +lobby_start_success=Game has been started. +lobby_start_failed=You need to be the creator of a lobby to start a game. +game_player_fell=%player% fell. +game_revive_countdown=You got %seconds% seconds left to revive %player%. +game_player_died=%player% died. +game_player_revived=%player1% revived %player2%. +game_round=Round %round% is starting. +game_points_gained=You gained %points% points. +game_points=You have %points% points. +game_paid=You paid %amount% points for this. +game_no_points=You dont have enough points for this. You need at least %amount%. +game_impossible=That action is impossible. Youve been refunded. +plugin_enchantment=The enchantment "%type%" is not applicable on the item "%item%". Ignoring. \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100755 index 0000000..3d187bd --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,9 @@ +main: com.encrox.zombie.Zombie +name: Zombie +version: 1.0 +depend: [InstancedRegions] + +commands: + zombie: + description: Generic zombie command. + usage: /zombie help \ No newline at end of file diff --git a/src/main/resources/schematics/test.schematic b/src/main/resources/schematics/test.schematic new file mode 100755 index 0000000..1b32d4f Binary files /dev/null and b/src/main/resources/schematics/test.schematic differ -- cgit v1.2.1