Created
August 30, 2017 21:19
-
-
Save Senither/4424fded4398a463ffb7b3e5d0b9272b to your computer and use it in GitHub Desktop.
Configuration for MegaCore minecraft plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################ | |
# +------------------------------------------------------+ # | |
# | Notes | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI. | |
# If you receive an error when MegaCore loads, ensure that: | |
# - No tabs are present: YAML only allows spaces | |
# - Indents are correct: YAML hierarchy is based entirely on indentation | |
# - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrophe) | |
# - Text with symbols is enclosed in single or double quotation marks | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Configs | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# MegaCore is setup in such a way that all dynamic configs(Configs that will be edited via commands or the system) have their own config file, | |
# This allows for easier managing of information, easier load on the server as-well as a nice back-end that doesn't have to sort through tons | |
# of data to be able to find what it's looking for. | |
# All configs related to MegaCore can be found at /plugins/MegaCore/ | |
# | |
# These configs is the following: | |
# Guide.yml | Manages dynamic guides and book generations. | |
# Shop.yml | Manages the shop items, title, layout and messages. | |
# BlockLevel.yml | Dynamic Block Levels cordinates and permission nodes, use /blocklevel in-game for more information. | |
# | |
# Player configs are stored per-player in /plugins/MegaCore/playerData/ | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | MegaCore Command Path | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# The MegaCore command path is part of the dynamic command registering module that MegaCore uses to handel commands associated with the plugin. | |
# Without the path, or with the path being invalid the system will break and all the featuers from the system that uses commands to function will break. | |
# It's highly recommended that you DO NOT modify the line below unless you know excatly what you're doing. | |
command-path: com.senither.megacore.cmd | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Debug Messages | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# Debug messages will print out what the plugin does in the server console, | |
# this is good for debugging code or configs if something isn't working as expected. | |
debug-messages-enabled: true | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Automatic Run Commands | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# All the commands below will be run after startup as the console based off the delay timer. | |
# The delay timer is based off the Minecraft ticks, 20 ticks being 1 second, example: | |
# 300 Ticks = 15 Seconds | |
# 1200 Ticks = 1 Minute (60 Seconds) | |
pre-load-command: | |
- command: 'rankup reload' | |
delay: 200 | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Chat Filter | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# The precentage of upper-case letters a message can contain before getting converted to lowercase to prevent full caps messages. | |
# Users with the 'megacore.chat.bypass.caps' permission node can bypass this check. | |
chat-filter-caps-precentage-limite: 75 | |
# A list of words that will be blocked by the chat filter. The chat filter is setup to use dynamic regex system for each word, | |
# this means that blocking one word will also block escapes of that word, such as 'f.u.c.k' or 'f_U.c-k' | |
blocked-words: | |
- fuck | |
- fucked | |
- shit | |
- cunt | |
- balls | |
- cock | |
- asshole | |
- nigger | |
- nigro | |
- dumbshit | |
- dipshit | |
- bitch | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Item Blocker | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# This message will be sent to a player when they try to craft an item that is blocked | |
craft-block-message: '&cYou can''t craft this item!' | |
# List of items that is blocked, the format for this is the following: | |
# material: The Bukkit material name | |
# dataId: The data id for the item, if none set it to 0 | |
# remove: Will remove the item if it's found in any type of chest | |
block-items: | |
- material: GOLDEN_APPLE | |
dataId: 1 | |
remove: true | |
- material: HOPPER | |
dataId: 0 | |
false: false | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Starter Kit | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# This kit will be given to all players the first time they join the server | |
# If you don't want people to have armour you can simply remove the amour tag | |
# | |
# All kit items is formated as following: | |
# type: The type of the item | |
# material: The Bukkit material name | |
# dataId: The data id for the item, if none set it to 0 | |
# stack: The amount of items in the stack the player will be given | |
# enchants: This is optional, enchants the item with enchants from bukkit | |
# name: This is optional, sets a custom name of the item, colour codes is supported | |
# lore: This is optional, sets the lore of an item, colour codes is supported | |
# slot: This is required, sets the item in the slot number, only works for Inventory types! | |
# | |
# All the different kit types are as following: | |
# Helmet: What the player will wear as a helmet | |
# Chestplate: What the player will wear as a chestplate | |
# Leggings: What the player will wear as a leggings | |
# Boots: What the player will wear as a Boots | |
# Inventory: What the player will get in their inventory, this type supports the slot attribute | |
# | |
starter-kit: | |
- type: helmet | |
material: CHAINMAIL_HELMET | |
dataId: 0 | |
enchants: | |
- PROTECTION_ENVIRONMENTAL 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Helmet' | |
- type: chestplate | |
material: CHAINMAIL_CHESTPLATE | |
dataId: 0 | |
enchants: | |
- PROTECTION_ENVIRONMENTAL 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Chestplate' | |
- type: leggings | |
material: CHAINMAIL_LEGGINGS | |
dataId: 0 | |
enchants: | |
- PROTECTION_ENVIRONMENTAL 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Leggings' | |
- type: boots | |
material: CHAINMAIL_BOOTS | |
dataId: 0 | |
enchants: | |
- PROTECTION_ENVIRONMENTAL 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Boots' | |
- type: inventory | |
material: IRON_SWORD | |
dataId: 0 | |
enchants: | |
- DAMAGE_ALL 2 | |
- DURABILITY 10 | |
name: '&b&lStarter Sword' | |
slot: 1 | |
- type: inventory | |
material: IRON_PICKAXE | |
dataId: 0 | |
enchants: | |
- DIG_SPEED 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Pickaxe' | |
slot: 2 | |
- type: inventory | |
material: IRON_AXE | |
dataId: 0 | |
enchants: | |
- DIG_SPEED 3 | |
- DURABILITY 10 | |
name: '&b&lStarter Axe' | |
slot: 3 | |
- type: inventory | |
material: GRILLED_PORK | |
dataId: 0 | |
stack: 32 | |
slot: 9 | |
############################################################ | |
# +------------------------------------------------------+ # | |
# | Broadcast Messages | # | |
# +------------------------------------------------------+ # | |
############################################################ | |
# | |
broadcast-messages: | |
'1': | |
delay: 30 | |
message: | |
- type: 'text' | |
text: '&8[&c&lBroadcast&8] ' | |
- type: 'hover' | |
text: '&fThis' | |
value: '&6This is pretty cool huh?' | |
- type: 'text' | |
text: '&7 is a test broadcast with a ' | |
- type: 'link' | |
text: '&flink!' | |
value: 'http://megaprison.com/' | |
'2': | |
delay: 15 | |
message: | |
- type: 'text' | |
text: '&8[&c&lBroadcast&8] ' | |
- type: 'text' | |
text: '&7Your name is: ' | |
- type: 'hover' | |
text: '&6[player]' | |
value: '&7Hover messages \\\o.o/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment