Skip to content

Instantly share code, notes, and snippets.

@Wohaho
Created April 29, 2018 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wohaho/5a7deea1cbaa98d2cea700618a1e5e61 to your computer and use it in GitHub Desktop.
Save Wohaho/5a7deea1cbaa98d2cea700618a1e5e61 to your computer and use it in GitHub Desktop.
# Coins plugin by: Beelzebu
# If you need support or find a bug open a issuse in
# the official github repo https://github.com/Beelzebu/Coins/issues/
# The version of the config, don't touch!
version: 13
# This is the prefix used in all the messages.
Prefix: '&c&lCoins &6&l>&7'
# For most servers, leaving this option in true is fine, especially if your server
# is part of a bungeecord network, only set this to false if:
# 1) Your server is connected to a bungeecord server and for any reason you don't
# have ip_forward enabled in the bungeecord config.
# 2) Your server is connected to the same database as another server on which users
# can have another uuid (that the other server is cracked)
Online Mode: true
# Here you can enable Vault to make this plugin manage all the Vault transactions.
Vault:
Use: false
# Names used by vault for the currency.
Name:
Singular: 'Coin'
Plural: 'Coins'
# Here are the MySQL server settings.
MySQL:
Use: true
Host: '46.105.100.91'
Port: '3306'
Database: 's1367_database'
User: 's1367_user'
Password: 'Hu2hbtL7'
Prefix: 'Coins_'
Connection Interval: 5
# Plugin general configurations.
General:
# Here you can define the starting coins of a player when is registred in the
# database or his coins are reset with "/coins reset"
Starting Coins: 0
# Here you can configure the base command of the plugin.
Command:
Name: 'coins'
Description: 'Base command of the Coins plugin'
Usage: '/coins'
Permission: 'coins.use'
Aliases:
- 'mycoins'
- 'coinsalias'
# Here you can configure the autopurge of inactive accounts.
Purge:
Enabled: false # If this is true the old accouns would be purged at server startup.
Days: 60 # The time in days before deleting an account.
Logs:
Days: 10 # The days to keep plugin logs.
Executor Sign:
'1': '&9&lCOINS'
'4': '&f&l%executor_cost% &c&lCoins'
# If you want the users to be created when they join to the server, enable this,
# otherwise the players will be created when his coins are modified or consulted
# to the database for the first time (recommended for big servers).
Create Join: true
# Here you can define a cost to use a specific command.
Command Cost:
/sasho: 100.0 # When a player use this command, we gonna take 100 coins from his account.
# Here you can make that coins run a command from the console and take a cost to the user.
Command executor:
# This is the command name to use in /coins execute
# This is useful if you want to give things to the players by coins.
# With the command below you should use /coins execute example1
bgmc:
# This is the command that the console gonna run.
apple:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get &a&l16 &6&lEnchant'
'3': '&6&l6Apple. Just for'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'give %player% 322:1 16'
- 'bc &7%player% &6Закупи 16 &eEnchant Apple &6от &7&o/warp Store&e!' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 20
unmute:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get &aUNMUTE &6just'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'unmute %player%'
Cost: 1
feed:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Command &a/feed'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'komandafeed %player%' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 7
EC:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get command &a/ec'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'komandaec %player%' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 7
heal:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Command &a/heal'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'komandaheal %player%' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 7
FLY:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Command &a/fly'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'komanda %player% fly' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 20
VIP:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Be &fV.I.P&6 with us'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'rank %player%' # Note the %player% placeholder, this is replaced by the player that runs the command.
Cost: 50
money:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get 1,000 money'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'eco give %player% 1000'
Cost: 2
kitvip:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get kit &fVIP'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'kit vip %player%'
Cost: 7
kitbgmc:
Executor Sign:
'1': '&9&lCOINS'
'2': '&6Get kit &fBGMC'
'3': '&6If you got'
'4': '&f&l%executor_cost% &c&lCoins'
Command:
- 'kit bgmc %player%'
Cost: 7
Multipliers:
# Here you can configure some aspects of the GUI of multipliers
GUI:
Close:
# To see all possible values check https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Material: REDSTONE_BLOCK
Name: '&c&lClose'
Lore:
- ''
- '&7Click me to close this gui'
# If you're using 1.8 please check http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
# If you're using 1.9+ use https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Sound: 'UI_BUTTON_CLICK'
Pitch: '1'
Use:
Sound: 'ENTITY_PLAYER_LEVELUP'
Pitch: '2'
Fail:
Sound: 'ENTITY_VILLAGER_NO'
Pitch: '1'
# This is the server identifier, is used only if you have MySQL enabled, when a player enables a multiplier in
# this server, this is also enabled in all the other servers that has this identifier.
Server: 'default'
# This is for enable the debug mode, this gonna send more messages to the console to see what
# is happening with the plugin, please enable this to report bugs.
Debug: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment