Added economy handling

This commit is contained in:
William278 committed 2020-12-16 00:51:55 +00:00
1 parent d5f534296d
commit 7fef9ea0f1
19 files changed
+403 -136

No files matched your search

+22 -15
View File
@@ -1,4 +1,17 @@
language: 'en-gb'
data_storage_options:
storage_type: 'SQLite'
mysql_credentials:
host: localhost
database: database_name
username: root
password: password
port: 3306
table_names:
player_data: 'huskhomes_player_data'
locations_data: 'huskhomes_location_data'
homes_data: 'huskhomes_home_data'
warps_data: 'huskhomes_warp_data'
general:
max_sethomes: 10
teleport_warmup_time: 5
@@ -6,6 +19,7 @@ general:
bungee_options:
enable_bungee_mode: false
server_id: 'server'
enable_warp_command: true
spawn_command:
enabled: true
position:
@@ -15,7 +29,7 @@ spawn_command:
z:
yaw:
pitch:
rtp_command:
random_teleport_command:
enabled: true
range: 25000
dynmap_integration:
@@ -29,17 +43,10 @@ dynmap_integration:
show: true
set_name: 'Warps'
icon_id: 'sign'
enable_warp_command: true
data_storage_options:
storage_type: 'SQLite'
mysql_credentials:
host: localhost
database: database_name
username: root
password: password
port: 3306
table_names:
player_data: 'huskhomes_player_data'
locations_data: 'huskhomes_location_data'
homes_data: 'huskhomes_home_data'
warps_data: 'huskhomes_warp_data'
economy_integration:
enabled: true
free_home_slots: 5
costs:
additional_home_slot: 100
make_home_public: 50
random_teleport: 20
+11 -9
View File
@@ -3,7 +3,9 @@ version: ${project.version}
main: me.william278.huskhomes2.Main
api-version: 1.16
authors: [William278]
softdepend: [dynmap, Vault]
description: A powerful, intuitive and flexible teleportation suite
commands:
home:
description: Teleport to one of your homes
@@ -157,7 +159,7 @@ permissions:
huskhomes.version_checker: true
huskhomes.reload: true
huskhomes.bypass_timer:
description: Allows you to bypass the warmup teleportation timer
description: Allows you to bypass the teleportation timer
default: false
huskhomes.home:
description: Allows you to teleport to a home
@@ -169,10 +171,10 @@ permissions:
description: Allows you to delete a home
default: true
huskhomes.warp:
description: Allows you to teleport to a home
description: Allows you to teleport to a warp
default: true
huskhomes.setwarp:
description: Allows you to set homes
description: Allows you to set server warps
default: false
huskhomes.delwarp:
description: Allows you to delete a home
@@ -201,16 +203,16 @@ permissions:
description: View information about the plugin
default: true
huskhomes.reload:
description: Reload the plugin configuration
description: Reload the plugin configuration & messages files
default: false
huskhomes.version_checker:
description: View if the plugin is up-to-date
description: Check if the plugin is up-to-date
default: false
huskhomes.tp:
description: Allows you to tp to another player
description: Allows you to directly teleport to players or locations
default: false
huskhomes.tprequest:
description: Allows you to tp to another player on request
description: Allows you to request to teleport to a player
default: true
huskhomes.back.death:
description: Allows you to return to where you died
@@ -218,7 +220,7 @@ permissions:
children:
huskhomes.back: true
huskhomes.spawn:
description: Allows you to tp to spawn
description: Allows you to teleport to spawn
default: true
huskhomes.spawn.set:
description: Allows you to set the spawn location
@@ -226,7 +228,7 @@ permissions:
children:
huskhomes.spawn: true
huskhomes.edithome.public:
description: Allows you to make a public home
description: Allows you to make a home public
default: true
children:
huskhomes.edithome: true