CoinAPI Page Design

Apr 30, 2017
CoinAPI Page Design
  • Code (Text):
    mysql:
      # The hostname or ip of the MySQL Server
      host: 'localhost'

      # The MySQL Port
      port: 3306

      # The Username of the MySQL Server
      username: 'root'

      # The Password for the User
      password: 'IAmAVerySecurePassword'

      # The Database where the data will be stored
      database: 'data'

      # The Table-TableName for the coins data
      table: 'coins'

    settings:
      # The amount of coins a player should have on first join
      start: 100

    permissions:
      # Show your own coins amount - /coins
      show: 'coins.show'

      # Show coins amount for other players - /coins <Name>
      show-other: 'coins.show.other'

      # Set coins for a player - /coins set <Name> <Amount>
      set: 'coins.set'

      # Add coins for a player - /coins add <Name> <Amount>
      add: 'coins.add'

      # Remove coins for a player - /coins remove <Name> <Amount>
      remove: 'coins.remove'

      # Permission to see the full help with the admin commands - /coins help
      admin-usage: 'coins.adminusage'

      # With this permission, a player has permissions for all coin commands
      admin: 'coins.admin'

    message:
      prefix: '&7[&6Twerion Coins&7]'
      usage: '&7Bitte verwende &c/coins'

      no-permission: '&cDu hast nicht genug Rechte!'
      no-player: 'Du musst ein Spieler sein, um diesen Command ausführen zu können!'
      no-number: '&cDer Wert muss eine Nummer sein!'
      not-in-db: '&cDer Spieler &e%name% &cist nicht in der Datenbank!'

      show-success: '&7Du hast zurzeit &e%amount% Coins&7!'
      show-error: '&cDeine Coins konnten nicht abgerufen werden!'

      show-other-success: '&c%name% &7hat zurzeit &e%amount% Coins&7!'
      show-other-error: '&cDie Coins von &e%name% &ckonnten nicht abgerufen werden!'

      set-success: '&c%name% &7hat nun &e%new% Coins&7!'
      set-error: '&cDie Coins von &e%name% &ckonnten nicht geändert werden!'

      add-success: '&c%name% &7wurden &e%amount% Coins &7hinzugefügt!'
      add-error: '&cDie Coins von &e%name% &ckonnten nicht geändert werden!'

      remove-success: '&c%name% &7wurden &e%amount% Coins &7entfernt!'
      remove-error: '&cDie Coins von &e%name% &ckonnten nicht geändert werden!'


      admin-usage:
        - '&8&m---------------&8┃ &6CoinsAPI &8┃&8&m---------------'
        - ' '
        - '&e/coins'
        - '&e/coins help'
        - '&e/coins &7<&eName&7>'
        - '&e/coins set &7<&eName&7> &7<&eWert&7>'
        - '&e/coins add &7<&eName&7> &7<&eWert&7>'
        - '&e/coins remove &7<&eName&7> &7<&eWert&7>'
        - ' '
        - '&8&m---------------&8┃ &6CoinsAPI &8┃&8&m---------------'
  • Loading...
  • Loading...