TrickOrTreat Wiki - FILES

Nov 18, 2018
TrickOrTreat Wiki - FILES
  • [​IMG]

    Code (YAML):
    ##############################################################################################################
    #                                                                                                            #
    #  _______________                                         _______________                                   #
    # |______   ______|                                       |______   ______|                         _        #
    #        | |           _              _                          | |                               | |       #
    #        | |          (_)            | |  _                      | |                              _| |_      #
    #        | |   _ ___   _    ______   | |_/ /   ______    _ ___   | |   _ ___    ____    _______  |_  __|     #
    #        | |  | '___| | |  | _____|  |  __/   |  __  |  | '___|  | |  | '___|  / __ \  |  __  |    | |       #
    #        | |  | |     | |  | |____   |  \_    | |__| |  | |      | |  | |     |  ___/  | |__| |_   | |___    #
    #        |_|  |_|     |_|  |______|  |_|__\   |______|  |_|      |_|  |_|     \_____|  |________|  |_____|   #
    #------------------------------------------------------------------------------------------------------------#
    #                                                                                                            #
    # Thank your for purchasing TrickOrTreat - The ultimate Halloween Event                                      #
    #                                                                                                            #
    # This is one of the configuration files of the TrickOrTreat plugin                                          #
    # Here, you can configure the basic plugin. If you want to change all messages, switch to the messages.yml   #
    #                                                                                                            #
    # The plugin supports following server versions: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x                #
    #                                                                                                            #
    # Any problems? Write me a private message on spigot! Spigot: www.spigotmc.org/members/199727/               #
    #                                                                                                            #
    # Useful: You can use colorcodes in nearly all String configuations                                          #
    #                                                                                                            #
    # ~ timderspieler                                                                                            #
    ##############################################################################################################

    General
    :

      # Change the ingame plugin prefix (The prefix will be shown before all messages of the plugin.
      # If you dont want any prefix, leave this blank. !IMPORTANT!: Use a blank space after the prefix
      prefix
    : "&c&lToT &r&8> &7"
     
      # Enable worlds the plugin should work on
      enabled_worlds
    :
     - "world"
     
      # You can decide if your players can use /tot join or /tot leave.
      # When they type in /tot join, their inventory will be saved
      # And they get the game item and a leave item
      # If they leave the event with the item or /tot leave, they will get
      # their inventory back
      use_cach_inventorys
    : false
     
    Storage
    :

      # Following types are available: MYSQL, SQLITE
      # 'MYSQL' stores the data in a Database on your MySQL Server
      # 'SQLITE' stores the data in a efficient flatfile database in the plugin folder !RECOMMENDED!
     
      type
    : "SQLITE"
     
      MySQL
    :

        # You need to set following things up when you selected 'MYSQL' above
       
        # !WARNING! If you did something wrong here (Wrong password, username etc.)
        # the plugin disables itself!
       
        username
    : "TrickOrTreat"
        password
    : "1234"
        database
    : "TrickOrTreat"
        host
    : "localhost"
       
        # If you didnt change the port of the mysql server, dont touch this!
        port
    : "3306"

    Lobby
    :
     # If youre using this plugin on a lobby server, youre gonna be interested
      # in this configuration section.
     
      # If you enable lobby_listeners players cant do
      # following things in the enabled worlds:
      # Break blocks, Place blocks, Trample on farmlands, Drop items, pickup items
      # If you have the "trickortreat.admin" permission you can still do these things
      # Furthermore players wont get any type of damage
      lobby_listeners
    : false
     
      # Teleport the player, if he joins the server, to the set event location
      teleport_on_join
    : false
     
      # Set the players costume on his armor slots.
      # !IMPORTANT! If the player wears a armor this will
      # replace his armor with his costume!
      use_armor_slots
    : false
     
    GameSettings
    :

      # Rewards settings
      # more reward settings can be found under the "Reward" section
      rewards
    :
       # Set the max amount of rewards per door (for a correct costume)
        max_amount
    : 50
        # Set the min amount of rewards per door (for a completly incorrect costume)
        min_amount
    : 5
     
      # Set the banned time per door per player
      # If a player has knocked on a door, he needs to
      # wait the given time to knock at the same door again
      banned_time
    :
        hours
    : 0
        minutes
    : 5
        seconds
    : 0
       
      # Enable or Disable the function that players knock on a door and nobody is at home
      somebody_at_home
    :
        enable
    : false
        # The percentage that nobody is at home
        percentage
    : 30
       
      # Enable or Disable the function that players knock on a door and a reward thief appears, that steal rewards from a player
      thief
    :
        enable
    : false
        # The percentage that a thief appears
        percentage
    : 10
        # Set the max amount of rewards a thief can steal from a player
        max_steal_amount
    : 30
     
      # Enable or Disable the function that players get a tip when they dont have the right costume
      tip
    :
        enable
    : true
        # The percentage that a player gets a tip
        percentage
    : 40
       
      # Enable or Disable the function that players need to search ingredients in your world to
      # get rewards
      ingredients
    :
        enable
    : true
        # The percentage that a players need to search an ingredient
        percentage
    : 60
        # Additional ingredients when you deliver the ingredient
        additional_rewards
    : 10

    Reward
    :

      # Here you can edit the reward. Players gain rewards when they knock on doors e.g sweets
      singular_name
    : "sweet"
      plural_name
    : "sweets"
     
      # The icon will be displayed in the game menu or when players knock on a door
      # All available materials: hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
      icon
    : RABBIT_STEW
     
    Costumes
    :

      # This is the costume configuration section
      # Every costume contains a head (skull), a colorized chestplate, leggings and boots
      # Players can costomize every part of their costume
     
      # List of available heads for the costume
      # you can add 56 heads in total
      # Simply add the skull owner (playername) to this list with a custom name
      # Like this "<PLAYERNAME>:<CUSTOME_NAME>"
      # You can add minecraft mob skulls too
      # List of default minecraft skulls: minecraft.gamepedia.com/Mob_head#Mojang_skins
      heads
    :
     - "MHF_Enderman:&5Enderman"
      - "MHF_Zombie:&cZombie"
      - "MHF_Skeleton:&7Skeleton"
      - "MHF_Creeper:&aCreeper"
      - "Clear:&fGhost"
      - "colin:&4Bloody Man"
      - "Lars1204:&bKoala"
      - "BlueBear121:&ePikachu"

    NPC
    :

      # This is the NPC configuration section
      # You can add as many skins as you want
      # This will affect the appearance and the name of the npcs behind the doors
      # !WARNING!: the skin owners can always change their skins
      # Add elements like this:
      # - <skinname>:<Your_Name>
     
      # List of skins for thiefs behind the doors
      thief_skins
    :
     - "Colin:&4Thief"
      - "1337Zero:&cPick Pocket"
     
      # List of skins for the normal villagers behind the doors
      normal_skins
    :
     - "_RoadTrip_:&bJohn"
      - "TyFX:&aTim"
      - "hushies:&dLisa"
      - "Decapitado:&3Max"
      - "Emayli:&5Phillip"
      - "__Oasis__:&9Brianna"
      - "elPomax:&2Julius"

    Sounds
    :

      # Change some sounds from the game.
      # !WARNING!: What sounds you can take depends or your minecraft server version!
      # Sounds for 1.8 and below: jd.bukkit.org/org/bukkit/Sound.html
      # Sounds for 1.9 and above: hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
     
      # Change the volume of all sounds
      # !WARNING!: 1.0 is the loudest setting. Everthing above 1.0F is hearable for players in the distance!
      volume
    : 1.0F
     
      # Change the pitch of all sounds
      # If you dont want to change the speed of the sounds, dont touch this setting
      pitch
    : 1.0F
     
      # This sound is played when a player knocks on a game door
      knock_on_door
    : "ENTITY_ZOMBIE_ATTACK_WOODEN_DOOR"
     
      # This sound is played when a player knocks on a door and nobody is at home
      nobody_at_home
    : "ENTITY_VILLAGER_DEATH"
     
      # This sound is played when the villager assesses your costume
      thinking
    : "ENTITY_VILLAGER_AMBIENT"
     
      # This sound is played when the villager opens the door
      open_door
    : "BLOCK_WOODEN_DOOR_OPEN"
     
      # This sound is played when the villager closes the door
      close_door
    : "BLOCK_WOODEN_DOOR_CLOSE"
     
      # This sound is played when a player get rewards
      gain_rewards
    : "ENTITY_CHICKEN_EGG"
     
      # This sound is played when a player loose rewards
      loose_rewards
    : "BLOCK_LAVA_EXTINGUISH"
     
      # This sound is played when a player finished the trickortreating at a door
      finish_tot
    : "ENTITY_EXPERIENCE_ORB_PICKUP"
     
      # This sound is played when a player opens the game menu
      menu_open
    : "ITEM_ARMOR_EQUIP_ELYTRA"
     
      # This sound is played when a player click on an item in a menu
      menu_click
    : "BLOCK_NOTE_BLOCK_SNARE"
    Code (YAML):
    ##############################################################################################################
    #                                                                                                            #
    #  _______________                                         _______________                                   #
    # |______   ______|                                       |______   ______|                         _        #
    #        | |           _              _                          | |                               | |       #
    #        | |          (_)            | |  _                      | |                              _| |_      #
    #        | |   _ ___   _    ______   | |_/ /   ______    _ ___   | |   _ ___    ____    _______  |_  __|     #
    #        | |  | '___| | |  | _____|  |  __/   |  __  |  | '___|  | |  | '___|  / __ \  |  __  |    | |       #
    #        | |  | |     | |  | |____   |  \_    | |__| |  | |      | |  | |     |  ___/  | |__| |_   | |___    #
    #        |_|  |_|     |_|  |______|  |_|__\   |______|  |_|      |_|  |_|     \_____|  |________|  |_____|   #
    #------------------------------------------------------------------------------------------------------------#
    #                                                                                                            #
    # Thank your for purchasing TrickOrTreat - The ultimate Halloween Event                                      #
    #                                                                                                            #
    # This is one of the configuration files of the TrickOrTreat plugin                                          #
    # Here, you can configure the messages. If you want to change all settings, switch to the config.yml         #
    #                                                                                                            #
    # The plugin supports following server versions: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x                #
    #                                                                                                            #
    # Any problems? Write me a private message on spigot! Spigot: www.spigotmc.org/members/199727/               #
    #                                                                                                            #
    # Useful: You can use colorcodes such as &a in nearly all String configuations                               #
    #                                                                                                            #
    # ~ timderspieler                                                                                            #
    ##############################################################################################################

    #####################################################################
    #                                                                   #
    # GENERAL                                                           #
    #                                                                   #
    #####################################################################

    # Messages such as the command list for admins cant be changed
    # You can change the plugin prefix in the config.yml

    # The command list for players
    command_list_players
    :
    - "&c&m======&r &6TrickOrTreat Commands &c&m======"
    - "&7- &6/<command> stats &7| List your stats"
    - "&7- &6/<command> warp &7| Teleport to the event location"
    - "&7- &6/<command> top &7| See the best TrickOrTreat players"
    - "&7- &6/<command> open &7| Open the game menu"

    # This will display your current stats
    command_stats
    :
    - "&7- &e<reward_name> collected
    : &a<total_rewards>"
    - "&7- &eDoors found
    : &a<found_doors>&7/&c<door_amount>"

    # Some basic message configuration
    no_permission
    : "&cYou dont have permission to do that"
    not_started_yet
    : "&cThe TrickOrTreat event is not active. Come back later"
    help_msg
    : "&7Use &e/<command> help &7for help!"
    you_already_joined_the_event
    : "&cYou already joined the event. Use &6/tot leave &cto leave the event!"

    #####################################################################
    #                                                                   #
    # TIME STAMPS                                                       #
    #                                                                   #
    #####################################################################

    # Time stamps
    # No colorcodes available
    time_hours
    : "hours"
    time_hour
    : "hour"
    time_minutes
    : "minutes"
    time_minute
    : "minute"
    time_seconds
    : "seconds"
    time_second
    : "second"

    #####################################################################
    #                                                                   #
    # DOORS                                                             #
    # TrickOrTreat doors are the key function of this plugin. Players   #
    # can knock on configured doors. If a villager opens the door he is #
    # going to rate your costume and will give you a amount of sweets   #
    #                                                                   #
    #####################################################################

    youre_already_at_a_door
    : "&cWait until you finished the TrickOrTreating at the other door!"

    # Message to display, when you knock on a door
    knock_on_door
    : "&7&oKNOCK KNOCK!"

    found_new_door
    : "&bYou have found a new door! &a<found_doors>&7/&c<door_amount>"

    # Message if another player is already at a door
    door_in_use
    : "&c&lOhhh!&r&e Seems like somebody is currently at this door. Try it again later!"

    # Message if nobody is at home
    nobody_at_home
    : "&eIt seems like nobody is at home right now! Try again later!"

    # Messages when somebody is at home and a player waits in front of the door
    # The plugin picks a random message and sends it to the player
    # Placeholders: <villager_name>
    waiting_at_door
    :
    - "&a<villager_name>
    : &f&oWait im coming!"
    - "
    &a<villager_name>: &f&oIm on the toilet! Please hold on!"
    - "
    &a<villager_name>: &fWho is always ringing on my door?! I hate these Knock Knock Gingers!"
    - "
    &a<villager_name>: &f&o*Puts a cake into the oven* &r&fHold on im coming!"
    - "
    &a<villager_name>: &f&oDid someone just rang on my door?"
    - "
    &a<villager_name>: &f&oI hope its the postman! Im waiting for my package since two weeks!"
    - "
    &a<villager_name>: &f&oWhy are always these kids ringing on my door?!"
    - "
    &a<villager_name>: &f&oMy bones ... Why dont people know that im old?"

    # Chat messages for banned doors
    # This messages will shown up if a player knocks
    # on a door he already went to.
    # You can enable the ban system in the config.yml
    # PlaceHolders: <timestring>, <player_name>
    your_banned_from_this_door: "
    &cYoure currently banned at this door! Come back in &4<timestring>"
    same_costume: "
    &cOhh! I know you with that costume! &eCome back in &c<timestring> &ewith another costume!"

    # Message when a thief is at home
    thief_at_home: "
    &e&l&oMUHAHAHA! GIVE ME ALL YOUR <reward_name>!!!!!"

    # Title messages for gaining and loosing rewards
    # Placeholders: <amount> , <reward_name>
    # You can change the reward name in the config.yml
    loose_rewards_title: "
    &c- <amount> &b<reward_name>"
    gain_rewards_title: "
    &a+ <amount> &b<reward_name>"
    # Gain rewards subtitle. Placeholders: <percent>
    gain_rewards_percent_subtitle: "
    &e<percent>%"

    # Chat messages for gaining and loosing rewards
    # Placeholders: <amount> , <reward_name>
    # You can change the reward name in the config.yml
    loose_rewards_msg
    : "&cYou lost <amount> &b<reward_name>"
    gain_rewards_msg
    : "&aYou gained <amount> &b<reward_name>"

    #####################################################################
    #                                                                   #
    # INGREDIENTS                                                       #
    # For some villagers you need to find / collect ingredients to get  #
    # your sweets. These "collectives" are simply called ingredients.   #
    # To earn these ingredients you need to find them on your map and   #
    # try to break them.                                                #
    #                                                                   #
    #####################################################################

    # Title messages for getting a new needed ingredient
    # PlaceHolders: <player_name>, <villager_name>, <ingredient_name>
    need_ingredient_uppertitle
    : "&eCollect &c&l<ingredient_name>"
    need_ingredient_suptitle
    : "&efor &c<villager_name>"

    # Title message for deliver a ingredient
    ingredient_delivered
    : "&a&mIngredient delivered"

    # Message for player when he knocks on a door and still need a ingredient
    still_need_ingredient
    : "&cYou need to collect a/an <ingredient>!"

    # Task message in the game menu
    ingredient_task_msg
    : "Collect a/an :<ingredient> for door at:<door_location>"
    no_ingredient_tasks
    : "&a&oYou have no active ingredient tasks!"

    ingredient_found_uppertitle
    : "&b&lINGREDIENT FOUND!"
    ingredient_found_suptitle
    : "&e&oBring the &c&o<ingredient> &r&e&oback to <door_location>"
    ingredient_found_chat
    :
    - "&c&m-------------------------------"
    - "&e&o        Ingredient found
    :     "
    - "
    &b&o           <ingredient>:      "
    - "
    &c&m-------------------------------"
    - "
    &7Bring the ingredient back to the door at location: &c&o<door_location>"

    # Chat messages for getting a new needed ingredient task
    # PlaceHolders: <player_name>, <villager_name>, <ingredient_name>, <location>
    need_ingredient_chat
    :
    - "&c&m-------------------------------"
    - "&e&o        Search following       "
    - "&e&o           ingredient
    :        "
    - "
                                      "
    - "
    &b&o         <ingredient_name>     "
    - "
    &c&m-------------------------------"

    #####################################################################
    #                                                                   #
    # Colors                                                            #
    #                                                                   #
    #####################################################################

    # You can change the colornames here. You cant use Colorcodes here.
    # They are automatically generated
    white: "
    White"
    black: "
    Black"
    red: "
    Red"
    green: "
    Green"
    yellow: "
    Yellow"
    blue: "
    Blue"
    turquoise: "
    Turquoise"
    orange: "
    Orange"
    gray: "
    Gray"
    purple: "
    Purple"

    #####################################################################
    #                                                                   #
    # Armorparts                                                        #
    #                                                                   #
    #####################################################################

    # Translate some armor parts
    # No colorcodes available
    head: "
    Head"
    chestplate: "
    Chestplate"
    leggings: "
    Leggings"
    boots: "
    Boots"

    #####################################################################
    #                                                                   #
    # TIPS                                                              #
    # Tips are given when you dont get a 100% rating on your halloween  #
    # costume. Because some villagers are very nice, they give you      #
    # tips for a better rating.                                         #
    #                                                                   #
    #####################################################################

    # You can change the different tips for the costumes here
    tip_title: "
    &e&o&lNEW TIP!"

    # General tip message
    # Placeholders: <armorpart>, <tip>
    tip_general: "
    Here a tip for your <armorpart>: <tip>"

    # Finding ways to describe colours in an abstract way is harder then it looks!
    # These messages will be shown instead of <tip>
    tip_head: "
    I think your head isnt scary at all!"
    tip_white: "
    Sometimes are colours too much. I like it when its simple and modern."
    tip_black: "
    Death is the key to new life"
    tip_red: "
    Love and fervor are the most important things in life!"
    tip_green: "
    The nature is the origin of life"
    tip_yellow: "
    The colours of the sun are bringing energy and motivation"
    tip_blue: "
    Still waters run deep"
    tip_turquoise: "
    Nice beaches and bright waters are my favourites"
    tip_orange: "
    The enjoyment of life brings new energy and motivation"
    tip_gray: "
    Wisdom comes with age"
    tip_purple: "
    The right mix between blue and red is the solution!"
    Code (YAML):
    ##############################################################################################################
    #                                                                                                            #
    #  _______________                                         _______________                                   #
    # |______   ______|                                       |______   ______|                         _        #
    #        | |           _              _                          | |                               | |       #
    #        | |          (_)            | |  _                      | |                              _| |_      #
    #        | |   _ ___   _    ______   | |_/ /   ______    _ ___   | |   _ ___    ____    _______  |_  __|     #
    #        | |  | '___| | |  | _____|  |  __/   |  __  |  | '___|  | |  | '___|  / __ \  |  __  |    | |       #
    #        | |  | |     | |  | |____   |  \_    | |__| |  | |      | |  | |     |  ___/  | |__| |_   | |___    #
    #        |_|  |_|     |_|  |______|  |_|__\   |______|  |_|      |_|  |_|     \_____|  |________|  |_____|   #
    #------------------------------------------------------------------------------------------------------------#
    #                                                                                                            #
    # Thank your for purchasing TrickOrTreat - The ultimate Halloween Event                                      #
    #                                                                                                            #
    # This is one of the configuration files of the TrickOrTreat plugin                                          #
    # Here, you can configure all items. If you want to change all settings, switch to the config.yml            #
    #                                                                                                            #
    # The plugin supports following server versions: 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x                #
    #                                                                                                            #
    # Any problems? Write me a private message on spigot! Spigot: www.spigotmc.org/members/199727/               #
    #                                                                                                            #
    # Useful: You can use colorcodes in nearly all String configuations                                          #
    # All available materials: hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html                         #
    #                                                                                                            #
    # In this file you can edit the items like this:                                                             #
    #                                                                                                            #
    # item_string: YOUR_NAME!MATERIAL!SUBID!LORES_WITH_:_BETWEEN_LINES                                           #
    #                                                                                                            #
    # ~ timderspieler                                                                                            #
    ##############################################################################################################

    # Item to upen up the game menu
    Game_item
    : "&cTrickOrTreat!RABBIT_STEW!0!&f&oOpen the main menu"

    # Item to leave the event after joining it
    Leave_item
    : "&c&oLeave event!SLIME_BALL!0!&c&oLeave the event"
     
    # Edit the items that will shown up in the game menu
    # Following placeholders are available for all menu items:
    # <doors_found>, <total_doors>, <total_rewards>, <reward_name>, <current_ingredient>, <task>, <task_amount_left>
    Menu_Items
    :
      doors_found
    : "&e&oDoors found!ACACIA_DOOR_ITEM!0!&f&oYou found &e&o<doors_found>&f&o/&c&o<total_doors> &f&odoors"
      rewards_gained
    : "&c&oSweets collected!RABBIT_STEW!0!&f&oYou gained <total_rewards> <reward_name>"
      back_Item
    : "&f&oBack!ARROW!0!&f&oGo back"
      current_ingredient
    : "&b&oCurrent ingredient!BEACON!0!&f&oCurrent ingredient: &a&o<current_ingredient>"
      open_tasks
    : "&d&oOpen tasks!PAPER!0!&f&oYour current tasks:&f- <task>::&f&oYou have <task_amount_left> more tasks left!"

    # You can create a own template for the game menu here
    # Be careful while editing this!
    Game_Menu
    :
    # Add new list elements like this:
    # SLOT_ID:ITEM_NAME
    # You can find all game items under the section Menu_Items in this config!
    # !WARNING!: You need to set the items HEAD, CHESTPLATE, LEGGINGS, BOOTS, COLOR1, COLOR2, COLOR3, ..., COLOR10
    - "10:HEAD"
    - "12:CHESTPLATE"
    - "14:LEGGINGS"
    - "16:BOOTS"
    - "28:COLOR1"
    - "29:COLOR2"
    - "30:COLOR3"
    - "31:COLOR4"
    - "32:COLOR5"
    - "33:COLOR6"
    - "34:COLOR7"
    - "39:COLOR8"
    - "40:COLOR9"
    - "41:COLOR10"
    - "46:current_ingredient"
    - "47:open_tasks"
    - "51:doors_found"
    - "52:rewards_gained"

  • Loading...
  • Loading...