Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # All conditions with their respective subsections can be found on this link:
- # https://www.spigotmc.org/resources/41736/
- Config:
- new-version-reminder: true
- execution-mode-check: 20
- Commands:
- warp_end:
- command: "/end"
- conditions:
- item-required:
- id: 368
- amount: 1
- name: "&d&lEnd &5&lTeleporter"
- lore:
- - "&7With this item you will be able to"
- - "&7teleport you to the end whenever you like"
- enchants:
- - 'OXYGEN;5'
- - 'FIRE_ASPECT;5'
- on-hand: false
- remove: false
- error-message:
- - '&4For teleporting to the end you need the item: &d&lEnd &5&lTeleporter'
- success-commands:
- - /warp end %player%
- error-commands:
- - /warp information %player%
- abilities:
- command: "/abilities"
- conditions:
- level-required: 30
- permission: coc.abilities
- error-message:
- - '&4For using the &c&lAbilities Menu &4you need to be level 30+'
- - '&4and to have the right permission.'
- - '&8[&7Current Status&8]: &c%user-level%&7/&c30'
- success-sound: BLOCK_NOTE_PLING;10;2
- error-sound: BLOCK_GRASS_BREAK;10;0.5
- execution-mode-test1:
- command: "/eco give %player% 5000;/msg %player% &4You reached level 30!!"
- execution-mode:
- enabled: true
- one-time: true
- conditions:
- level-required: 30
- execution-mode-test2:
- command: "/tp %player% -200 80 -200;/msg %player% &cYou have been teleported to a mysterious place..."
- execution-mode:
- enabled: true
- one-time: false
- conditions:
- location:
- world: world
- x: 30
- y: 60
- z: 30
- radius: 1
- execution-mode-test3:
- command: "/msg %player% &cWelcome to the Shop!"
- execution-mode:
- enabled: true
- one-time: false
- entry-leave-system:
- enabled: true
- leave-command:
- enabled: true
- command: "/msg %player% &cBye! Have a nice day!"
- conditions:
- worldguard-regions:
- - shop1
- execution-mode-test4:
- command: "/eco give %player% 1500;/msg %player% &2Congrats on finishing the parkour!;/warp lobby %player%"
- execution-mode:
- enabled: true
- one-time: true
- conditions:
- above-block: DIAMOND_BLOCK
- announce:
- command: "/announce"
- conditions:
- warning:
- message:
- - '&cAre you sure you want to execute that command?'
- - '&cThis is going to take you &2$5000&c.'
- - '&aType &7"YES&7" &ato continue or anything else to cancel.'
- continue: "YES"
- gui-inventory: false
- money-required:
- required: 5000
- take: true
- error-message:
- - '&4You need &2&l$5000 &4to execute this command'
- - '&8[&7Current Status&8]: &c$%user-money%&7/&c$5000'
- success-message:
- - '&bYou have executed the command correctly for &2&l$5000'
- - '&bNow you have: &c$%user-money%'
- factions_enable_in_worlds:
- command: "/factions"
- conditions:
- worlds:
- - "world"
- - "world_nether"
- - "world_the_end"
- error-message:
- - '&4You are not allowed to execute that command on this world!'
- - '&8[&7Current World&8]: &c%user-world%'
- specific_location:
- command: "/enchant"
- conditions:
- location:
- world: world
- x: 0
- y: 60
- z: 0
- radius: 2
- error-message:
- - '&4You are not allowed to execute that command on this location!'
- specific_biome:
- command: "/biome_example"
- conditions:
- biomes:
- - MESA
- - MESA_ROCK
- - MESA_CLEAR_ROCK
- error-message:
- - '&4You need to be on Mesa Biome to execute that command!'
- enemies_nearby:
- command: "/home;/spawn;/warp;/tpa"
- conditions:
- no-entity-nearby:
- entities:
- - ZOMBIE
- - SKELETON
- - SPIDER
- radius: 15
- error-message:
- - '&4You can not use that command because there are enemies nearby!'
- time_played:
- command: "/warp epic-items"
- conditions:
- time-played: 3600
- error-message:
- - '&4You need to have played 1 hour on the server to execute this command!'
- - '&8[&7Time Played&8]: &c%time-played%'
- gamemode:
- command: "all"
- conditions:
- no-gamemode: ADVENTURE
- error-message:
- - '&4You can not use any commands while in Adventure Mode!'
- daily_reward_cooldown:
- command: "/daily-reward"
- conditions:
- cooldown: 86400
- error-message:
- - '&4You need to wait &c%cooldown-time% &4to use that command again!'
- suicide:
- command: "/suicide"
- conditions:
- warning:
- message:
- - '&cAre you sure you want to execute that command?'
- - '&aType &7":&7" &ato continue or anything else to cancel.'
- continue: ":"
- spawn:
- command: "/spawn"
- conditions:
- delay:
- amount: 3
- cancel-on-move: true
- message: '&7The command will be executed on: &6%time% &7seconds. Don''t move!'
- jobs:
- command: "/mining-shop"
- conditions:
- jobs:
- - 'Miner,15'
- error-message:
- - '&4You need to be Miner lvl 15+ to execute this command'
- - '&8[&7Current Status&8]: &c%job-level-Miner%&7/&c15'
- minplayers:
- command: "/warp event"
- conditions:
- min-players: 20
- error-message:
- - '&4There must be at least 20 players online to teleport you to that location'
- faction-conditions:
- command: "/factions-shop"
- conditions:
- factions:
- min-players: 5
- min-players-percentage-connected: 80
- min-power: 10
- error-message:
- - '&4Your faction need to have more than 5 players and at least 80% of them must be connected.'
- - '&4Also you need to have 10 power to execute that command.'
- - '&8[&7Factions Players&8]: &c%factions-total%&7/&c5'
- - '&8[&7Factions Online Players&8]: &c%factions-online%&7/&c%factions-total%'
- - '&8[&7Power&8]: &c%factions-player-power%&7/&c10'
- health:
- command: "/warp pvp"
- conditions:
- health:
- min: 70
- error-message:
- - '&4You need to have at least 70% of your health to teleport you there'
- - '&8[&7Current Status&8]: &c%player-health%&7/&c%player-health-max%'
- abilities2:
- command: "/battle-abilities"
- conditions:
- battlelevels:
- level-required: 5
- error-message:
- - '&4For using the &c&lBattle Abilities Menu &4you need to be level 5+'
- - '&8[&7Current Status&8]: &c%user-battlelevel%&7/&c5'
- warrior-abilities:
- command: "/warrior-abilities"
- conditions:
- skillapi:
- class: Warrior
- level-required: 1
- error-message:
- - '&4For using the &c&lWarrior Abilities Menu &4you need to be level 1+ Warrior'
- worldguard:
- command: "/fly"
- conditions:
- worldguard-regions:
- - spawn
- - lobby1
- error-message:
- - '&4You can fly only on these areas:'
- - '&7-> Spawn'
- - '&7-> Minigames Lobby'
- no-items-on-inventory:
- command: "/warp parkour"
- conditions:
- no-items: true
- error-message:
- - '&4If you want to teleport to the parkour, first'
- - '&4you need to clear your inventory.'
- date:
- command: "/event"
- conditions:
- date:
- - "day:SATURDAY,hour:16:00-20:00"
- - "day-of-month:11"
- error-message:
- - '&4You can use this command just on Saturdays'
- - '&4between 16:00 and 20:00 or the 11th of'
- - '&4each month.'
- success-commands:
- - warp Events %player%
- console_command:
- command: "/op"
- conditions:
- from-console: true
- error-message:
- - '&4This command must be executed from console!'
- placeholderapi:
- command: "/supermenu"
- conditions:
- placeholder_api:
- - "%player_minutes_lived%;>=;1440"
- - "%player_world%;equals;lobby"
- error-message:
- - '&4You must have play at least 24 hours on the server to execute that command.'
Add Comment
Please, Sign In to add comment