Initial Development
- Add Stop Complete
This commit is contained in:
commit
3566555893
31 files changed
+1018
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,35 @@
|
||||
|
||||
# RS-Taxi Configuration
|
||||
|
||||
# Language file for your server.
|
||||
# If plugin cannot find needed message in selected file,
|
||||
# it will default to english for that message.
|
||||
# Example: en_us, de_de, fr_fr
|
||||
language: "en_us"
|
||||
|
||||
# Platform Settings.
|
||||
platform:
|
||||
# Determines wether platforms are required before adding a destination
|
||||
# true: A platform is required to be built following the "layout" defined in config.
|
||||
# false: A platform is not required.
|
||||
enabled: true
|
||||
|
||||
# The center block of the platform if required.
|
||||
target-block: "TARGET"
|
||||
|
||||
# Protect the platform blocks from destruction.
|
||||
# true: platforms cannot be broken.
|
||||
# false: platforms can be broken.
|
||||
protect-platforms: true
|
||||
|
||||
#Layout requirement for add a destination if enabled is set to true.
|
||||
layout:
|
||||
north: "OAK_PLANKS"
|
||||
northeast: "OAK_PLANKS"
|
||||
east: "OAK_PLANKS"
|
||||
southeast: "OAK_PLANKS"
|
||||
south: "OAK_PLANKS"
|
||||
southwest: "OAK_PLANKS"
|
||||
west: "OAK_PLANKS"
|
||||
northwest: "OAK_PLANKS"
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
|
||||
prefix: "&8[&6RS-Taxi&8] "
|
||||
|
||||
general:
|
||||
no-permission: "&cYou don't have permission to do that."
|
||||
player-only: "&cThis command can only be used by a player."
|
||||
player-not-found: "&cPlayer not found."
|
||||
invalid-usage: "&cInvalid command usage."
|
||||
unknown-stop: "&cThe stop &e%stop% &cdoes not exist."
|
||||
no-stops: "&eNo taxi stops have been created yet."
|
||||
|
||||
database:
|
||||
connection-success: "&aDatabase connected successfully."
|
||||
connection-error: "&cCould not connect to the database."
|
||||
|
||||
stop:
|
||||
added: "&aStop &e%stop% &ahas been created."
|
||||
updated: "&aStop &e%stop% &ahas been moved to your current location."
|
||||
edited: "&aStop &e%stop% &ahas been updated."
|
||||
deleted: "&aStop &e%stop% &ahas been removed."
|
||||
already-exists: "&cA stop named &e%stop% &calready exists."
|
||||
invalid-icon: "&cThe icon &e%icon% &cis invalid."
|
||||
creation-error: "&cUnable to create the taxi stop. Check the server logs."
|
||||
|
||||
teleport:
|
||||
success: "&aYou have arrived at &e%stop%&a."
|
||||
|
||||
confirmation:
|
||||
update: "&eAre you sure you want to move stop &6%stop%&e? Confirm the command to proceed."
|
||||
delete: "&eAre you sure you want to delete stop &6%stop%&e? Confirm the command to proceed."
|
||||
expired: "&cThat confirmation has expired."
|
||||
|
||||
list:
|
||||
header: "&6Available Taxi Stops:"
|
||||
entry: "&e%icon% &f%stop%"
|
||||
|
||||
platform:
|
||||
invalid: "&cYou must stand on a valid taxi platform to create a stop."
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
|
||||
name: RS-Taxi
|
||||
version: '0.1.0'
|
||||
main: com.rsscripting.rstaxi.RSTaxi
|
||||
api-version: '26.1.2'
|
||||
description: Travel between named taxi stops.
|
||||
author: RSScripting
|
||||
|
||||
commands:
|
||||
cab:
|
||||
description: Travel between registered taxi stops.
|
||||
usage: /cab <stop|add|update|edit|remove|list>
|
||||
|
||||
permissions:
|
||||
rs-cab.use:
|
||||
description: Allows players to travel to taxi stops.
|
||||
default: true
|
||||
|
||||
rs-cab.add:
|
||||
description: Allows players to create taxi stops.
|
||||
default: op
|
||||
|
||||
rs-cab.edit:
|
||||
description: Allows players to update and edit taxi stops.
|
||||
default: op
|
||||
|
||||
rs-cab.delete:
|
||||
description: Allows players to delete taxi stops.
|
||||
default: op
|
||||
@@ -0,0 +1,3 @@
|
||||
artifactId=rs-taxi
|
||||
groupId=com.rsscripting
|
||||
version=0.1.0
|
||||
@@ -0,0 +1,6 @@
|
||||
com\rsscripting\rstaxi\stops\StopManager.class
|
||||
com\rsscripting\rstaxi\platform\PlatformValidator.class
|
||||
com\rsscripting\rstaxi\RSTaxi.class
|
||||
com\rsscripting\rstaxi\commands\CabCommand.class
|
||||
com\rsscripting\rstaxi\database\DatabaseManager.class
|
||||
com\rsscripting\rstaxi\language\LanguageManager.class
|
||||
@@ -0,0 +1,6 @@
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\commands\CabCommand.java
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\database\DatabaseManager.java
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\language\LanguageManager.java
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\platform\PlatformValidator.java
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\RSTaxi.java
|
||||
C:\Users\russe\IdeaProjects\RS-Taxi\src\main\java\com\rsscripting\rstaxi\stops\StopManager.java
|
||||
Reference in new issue
Block a user