PlayerJoins 玩家加入
作者:GeraldGamez059
发布时间:2021年8月23日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17
可定制的玩家加入消息
点此下载插件详细介绍
这是一个简单的Minecraft插件,目前只包含一个配置文件config.yml,功能比较基础。
EssentialsEco 经济插件
✨功能特性
config.yml:插件的主配置文件。- 目前功能较少,开发者比较懒。
配置文件 (config.yml)
# This is the main configuration file for EssentialsEco.
# Placeholders:
# %player% - Player's name
# %balance% - Player's balance
# %server% - Server name
# %online% - Online player count
# %max% - Max player count
# %time% - Current time
# %date% - Current date
# %world% - Player's world
# %x% - Player's X coordinate
# %y% - Player's Y coordinate
# %z% - Player's Z coordinate
# %prefix% - Player's prefix
# %suffix% - Player's suffix
# %group% - Player's group
# %health% - Player's health
# %maxhealth% - Player's max health
# %food% - Player's food level
# %level% - Player's level
# %exp% - Player's experience
# %ping% - Player's ping
# %ip% - Player's IP address
# %uuid% - Player's UUID
# %firstjoin% - Player's first join date
# %lastjoin% - Player's last join date
# %playtime% - Player's playtime
# %kills% - Player's kills
# %deaths% - Player's deaths
# %joins% - Player's joins
# %leaves% - Player's leaves
# %messages% - Player's messages
# %commands% - Player's commands
# %money% - Player's money
# %essentials_eco_version% - EssentialsEco version
# %vault_eco_version% - Vault economy version
# %server_version% - Server version
# %java_version% - Java version
# %os_name% - OS name
# %os_version% - OS version
# %os_arch% - OS architecture
# %cpu_cores% - CPU cores
# %ram_total% - Total RAM
# %ram_free% - Free RAM
# %ram_used% - Used RAM
# %disk_total% - Total disk space
# %disk_free% - Free disk space
# %disk_used% - Used disk space
# %tps% - Server TPS
# %player_count% - Player count
# %player_max% - Max player count
# %player_list% - Player list
# %player_names% - Player names
# %player_uuids% - Player UUIDs
# %player_ips% - Player IPs
# %player_hosts% - Player hosts
# %player_ping% - Player ping
# %player_health% - Player health
# %player_max_health% - Player max health
# %player_food% - Player food level
# %player_level% - Player level
# %player_exp% - Player experience
# %player_world% - Player world
# %player_x% - Player X coordinate
# %player_y% - Player Y coordinate
# %player_z% - Player Z coordinate
# %player_prefix% - Player prefix
# %player_suffix% - Player suffix
# %player_group% - Player group
# %player_kills% - Player kills
# %player_deaths% - Player deaths
# %player_joins% - Player joins
# %player_leaves% - Player leaves
# %player_messages% - Player messages
# %player_commands% - Player commands
# %player_money% - Player money
# %player_balance% - Player balance
# %player_firstjoin% - Player first join date
# %player_lastjoin% - Player last join date
# %player_playtime% - Player playtime
# %player_name% - Player name
# %player_uuid% - Player UUID
# %player_ip% - Player IP
# %player_host% - Player host
# %essentials_eco_version% - EssentialsEco version
# %vault_eco_version% - Vault economy version
# %server_version% - Server version
# %java_version% - Java version
# %os_name% - OS name
# %os_version% - OS version
# %os_arch% - OS architecture
# %cpu_cores% - CPU cores
# %ram_total% - Total RAM
# %ram_free% - Free RAM
# %ram_used% - Used RAM
# %disk_total% - Total disk space
# %disk_free% - Free disk space
# %disk_used% - Used disk space
# %tps% - Server TPS
debug: false
economy:
starting_balance: 100.0
currency_symbol: "$"
currency_name_singular: "dollar"
currency_name_plural: "dollars"
# Format the balance display. Use {balance} as the placeholder for the balance.
balance_format: "{balance} {currency_name_plural}"
# Set the minimum and maximum balance.
min_balance: 0.0
max_balance: 1000000.0
# Enable or disable bank accounts.
bank_accounts: false
# Set the interest rate for bank accounts.
interest_rate: 0.05
# Set the tax rate for bank accounts.
tax_rate: 0.05
# Set the minimum balance for bank accounts to earn interest.
min_balance_for_interest: 100.0
# Set the minimum balance for bank accounts to be taxed.
min_balance_for_tax: 100.0
# Set the maximum number of bank accounts a player can have.
max_bank_accounts: 3
# Set the bank account creation fee.
bank_account_creation_fee: 100.0
messages:
prefix: "&a[&bEssentialsEco&a] "
no_permission: "&cYou do not have permission to use this command."
player_not_found: "&cPlayer not found."
invalid_amount: "&cInvalid amount."
balance_too_low: "&cYour balance is too low."
balance_too_high: "&cYour balance is too high."
pay_success: "&aYou have paid &b{player} &a{amount}."
pay_received: "&aYou have received &b{amount} &afrom &b{player}."
set_success: "&aYou have set &b{player}'s &abalance to &b{amount}."
give_success: "&aYou have given &b{player} &a{amount}."
take_success: "&aYou have taken &b{amount} &afrom &b{player}."
balance: "&aYour balance is &b{balance}."
balance_other: "&b{player}'s &abalance is &b{balance}."
bank_account_creation_success: "&aYou have created a bank account with the name &b{account_name}."
bank_account_creation_failure: "&cYou already have the maximum number of bank accounts."
bank_account_not_found: "&cBank account not found."
bank_account_deposit_success: "&aYou have deposited &b{amount} &ainto your bank account &b{account_name}."
bank_account_withdraw_success: "&aYou have withdrawn &b{amount} &afrom your bank account &b{account_name}."
bank_account_balance: "&aYour bank account &b{account_name}'s &abalance is &b{balance}."
bank_account_list: "&aYour bank accounts are: &b{account_list}."
bank_account_delete_success: "&aYou have deleted your bank account &b{account_name}."
bank_account_delete_failure: "&cYou cannot delete your last bank account."
help: |
&aEssentialsEco Help:
&a/eco pay - Pay a player.
&a/eco set - Set a player's balance.
&a/eco give - Give a player money.
&a/eco take - Take money from a player.
&a/eco balance [player] - Check your balance.
&a/eco bank create - Create a bank account.
&a/eco bank deposit - Deposit money into a bank account.
&a/eco bank withdraw - Withdraw money from a bank account.
&a/eco bank balance - Check your bank account balance.
&a/eco bank list - List your bank accounts.
&a/eco bank delete - Delete a bank account.
&a/eco help - Show this help message.
commands:
pay:
permission: "essentialseco.pay"
description: "Pay a player."
set:
permission: "essentialseco.set"
description: "Set a player's balance."
give:
permission: "essentialseco.give"
description: "Give a player money."
take:
permission: "essentialseco.take"
description: "Take money from a player."
balance:
permission: "essentialseco.balance"
description: "Check your balance."
bank:
permission: "essentialseco.bank"
description: "Manage your bank accounts."
subcommands:
create:
permission: "essentialseco.bank.create"
description: "Create a bank account."
deposit:
permission: "essentialseco.bank.deposit"
description: "Deposit money into a bank account."
withdraw:
permission: "essentialseco.bank.withdraw"
description: "Withdraw money from a bank account."
balance:
permission: "essentialseco.bank.balance"
description: "Check your bank account balance."
list:
permission: "essentialseco.bank.list"
description: "List your bank accounts."
delete:
permission: "essentialseco.bank.delete"
description: "Delete a bank account."
help:
permission: "essentialseco.help"
description: "Show the help message."
# enable mysql database
mysql:
enabled: false
host: "localhost"
port: 3306
database: "essentialseco"
username: "root"
password: ""
# set the connection pool size
pool_size: 10
# set the connection timeout
connection_timeout: 30
# set the idle timeout
idle_timeout: 600
# set the max lifetime
max_lifetime: 1800