TreasureBox

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

TreasureBox

#1 Příspěvekod Misso » 25 led 2016, 23:17

Server: IP:93.91.250.102:27140

Čaute. Má tu niekto skúsenosti s pluginom TreasureBox?
Toto je ten box keď ho otvoríš
box.png
box.png (3.32 KiB) Zobrazeno 1757 x

a chcel by som to že ak napr. kliknem na prvú truhlu tak mi odpočíta 20 tokenov (plugin PlayerPoints) a otvorí... ak kliknem na druhú tak mi odpočíta 50tokenov (plugin PlayerPoints) a otvorí...
K+

Smexhy
Příspěvky: 5602
Věk: 26
Registrován: 31 říj 2012, 15:50
Reputation: 20
Bydliště: Slovensko
Kontaktovat uživatele:

Re: TreasureBox

#2 Příspěvekod Smexhy » 25 led 2016, 23:45

Dolož sem tvoje configy

Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

Re: TreasureBox

#3 Příspěvekod Misso » 26 led 2016, 00:11

treasurebox - config
Spoiler: zobrazit

Kód: Vybrat vše

UpdateNotification: true
TokenPrice: 150
BoxTokenPrice:
  Level1: 1
  Level2: 5
  Level3: 10
  Name: Tokens
MultipleBoxes: true
UseMySQL: true
MySQL:
  host: casa26.fakaheda.eu
  username: 203031_mysql_db
  password: *****
  port: 3306
  database: 203031_mysql_db
Chest:
  MainBox:
    Type: RANDOM
    Particle: CRIT
  SpiralParticle: FLAME
  LookAtEffect: FLAME
  CreateArena: false
  KeyMode: false
  InventoryName: SecretBox
  Item:
    '1': 54
    '2': 54
    '3': 130
  Name:
    '1': '&e&lRandom Box'
    '2': '&a&lMystery Box'
    '3': '&c&lLegendary Box'
  Lore:
    '1':
    - ''
    '2':
    - ''
    '3':
    - ''
  DespawnTime: 40
  Holo:
    enabled: true
    text:
    - '&c&lSecretBox'
    adjustHeight: 1.8
  ChestSpawn:
    Sound: WOOD_CLICK
Messages:
  Command:
    Line1: '&cTreasureBox &l> &7/tb addbox &e- &7Look at a chest to register it as
      a new Treasure Box.'
    Line2: '&cTreasureBox &l> &7/tb removebox &e- &7Look at a chest to remove it as
      a Treasure Box.'
    Line3: '&cTreasureBox &l> &7/tb buy &e- &7Buy a Token for &e%price%&7.'
    Line4: '&cTreasureBox &l> &7/tb givetoken <player> <amount> &e- &7Gives the <player>
      a token.'
    Line5: '&cTreasureBox &l> &7/tb reload &e- &7Reloads the config.yml.'
    Line6: '&cTreasureBox &l> &7/tb givechest <player> <level> <amount> &e- &7Gives
      the <player> a chest.'
    Line7: '&cTreasureBox &l> &7/tb reset <player> &e- &7Resets a players key & chest
      count.'
    Line8: '&cTreasureBox &l> &7/tb saveToStructure <BoxNumber> &e- §cInWork/notworkingyet
      &7Saves a selection made by WorldEdit to a Box Structure'
  No-Permissions: '&cTreasureBox &l> &7You don''t have enough permissions.'
  Not-Enough-Coins: '&cTreasureBox &l> &7You don''t have enough Coins.'
  Bought-Token: '&cTreasureBox &l> &7You''ve bought a Token. You have &e%keys%&7 Tokens.'
  Not-Online: '&cTreasureBox &l> &7The given player is not online.'
  Gave-Token: '&cTreasureBox &l> &7You gave &e%player%&7 a Token.'
  Gave-Tokens: '&cTreasureBox &l> &7You gave &e%player% %amount%&7 Tokens.'
  Recieved-Token: '&cTreasureBox &l> &7You recieved a Token!'
  Recieved-Tokens: '&cTreasureBox &l> &7You recieved &e%amount%&7 Tokens!'
  Box-Added: '&cTreasureBox &l> &7Treasure Box has been added to the list.'
  Box-Removed: '&cTreasureBox &l> &7Treasure Box removed, you can now destroy the
    box.'
  Box-Already-Exists: '&cTreasureBox &l> &7This box is already registered.'
  UnkownBlock: '&cTreasureBox &l> &7Unkown Block ''%block%''.'
  Wait: '&cSecretBox &l> &7Musis pockat, az akce skonci.'
  No-Break: '&cTreasureBox &l> &7You cannot destroy a Treasure Box. Use &e/tb removebox&7
    to remove it.'
  Not-Enough-Token: '&cTreasureBox &l> &7You don''t have enough Tokens.'
  Buy-Token: '&cTreasureBox &l> &7Use &e/tb buy&7 to buy a Token for &e%price%$'
  Opening: '&cSecretBox &l> &7Prave otviras Secret Box.'
  Choose: '&cSecretBox &l> &7Otvor &l%amount% &r&7truhlice.'
  Unkown-Arguments: '&cTreasureBox &l> &7Unkown Arguments, try &e/tb &7to see all
    commands.'
  MySQL-Get-Error: '&cTreasureBox &l> &7Error while getting your Keys from the MySQL
    database.'
  Price: '&7Price: &6'
  Your-Tokens: '&7You have &6%tokens% &7Tokens.'
  Rewards: '&7Possible Rewards:'
  RewardFormat: '&7 - &8[%reward%&8]'
  ConfigReloaded: '&cConfig reloaded!'
  CommandNotAllowed: '&cThis command is not allowed when opening a box.'
  IsNotAnInt: '&cTreasureBox &l> &7The given argument needs to be an integer.'
  NotReady: '&cTreasureBox &l> &7Not all box entries are loaded yet, please wait.'
  Not-Enough-Chests: '&cTreasureBox &l> &7You don''t have enough Chests.'
  Reset-Player: '&cTreasureBox &l> &7You''ve reset %player%.'
  Gave-Chests: '&cTreasureBox &l> &7You gave &e%player% %amount%&7 Lv.%lv% Chests.'
  Open-Near-Other: '&cTreasureBox &l> &7You cannot open a normal chest near a Treasure
    Box.'
  Boxes-Left: '&cTreasureBox &l> &7You can open %amount% more chests.'
DisabledCommands:
- spawn
- home
- warp


PlayerP.
Spoiler: zobrazit

Kód: Vybrat vše

storage: MySQL
mysql:
  host: casa26.fakaheda.eu
  port: 3306
  database: 203031_mysql_db
  user: 203031_mysql_db
  password: *******
  import:
    use: false
    source: YAML
  export:
    use: false
    source: MySQL
  retry: 10
vote:
  enabled: false
  amount: 100
  online: false
restrictions:
  autocompleteOnline: false
  hasPlayedBefore: false
debug:
  database: false
  uuid: false
vault: false
version: 2.1.3


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 20 hostů