Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- aooniprefix: &c[&bAooni&c]
- command /aooni <text>:
- permission: aooni.admin
- permission message: &cYou dont have permission needed "aooni.admin"
- trigger:
- if arg 1 is "help":
- send "{@aooniprefix} &b/aooni help &a青鬼のhelp画面を表示します"
- send "{@aooniprefix} &b/aooni wp &a青鬼を抽選します"
- send "{@aooniprefix} &b/aooni start &a青鬼を始めます"
- send "{@aooniprefix} &b/aooni reset &a青鬼の状況をリセットします"
- send "{@aooniprefix} &b/aooni pvp <enable:disable> &apvpをon,offします"
- send "{@aooniprefix} &b/aooni set <mode> &a青鬼のモードを変更します 今あるのはeasyだけです"
- send "{@aooniprefix} &b/aooni set revival &aひろしの復活地点を設定します"
- if arg 1 is "wp":
- execute console command "/setblock 1489 30 389 redstone_block"
- if arg 1 is "start":
- execute console command "/setblock 1489 30 387 redstone_block"
- execute console command "/scoreboard teams join ひろし @a[team=!青鬼,m=2]"
- enable pvp
- if arg 1 is "reset":
- execute console command "/setblock 1489 30 391 redstone_block"
- execute console command "/setblock 1482 27 383 air"
- disable pvp
- if arg 1 is "pvp enable":
- enable pvp
- send "{@aooniprefix} &3pvp is now enable!"
- if arg 1 is "pvp disable":
- disable pvp
- send "{@aooniprefix} &3pvp is now disable!"
- if arg 1 is "give kakuredama":
- set slot 4 of player to 1 slimeball named "&3隠れ玉"
- if arg 1 is "give escape":
- set slot 3 of player to 1 diamond named "&b脱出の鍵"
- if arg 1 is "set easy":
- broadcast "{@aooniprefix} &aイージーモード&3に変更しました"
- broadcast "{@aooniprefix} &aイージー&3アスレが開放されました"
- execute console command "/setblock 1482 27 383 redstone_torch"
- if arg 1 is "set revival":
- set {revival} to location of player
- send "{@aooniprefix} set the revival to you location!"
- on death of player:
- if attacker is a player:
- if attacker is set:
- set the death message to "{@aooniprefix} &c%victim%さんは青鬼に食べられた"
- on right click holding a slimeball:
- cancel event
- name of held item contains "&3隠れ玉"
- hide the player from all players
- execute console command "effect %player% slowness 1 2 true"
- wait 1 second
- reveal player to all players
- on right click on emerald block:
- cancel event
- if player is holding a diamond named "&b脱出の鍵":
- set block at location at 1512, 30, 452 in world "world" to redstone block
- on right click on nether wart block:
- cancel event
- broadcast "{@aooniprefix} &e%player%&bさんが復活しました"
- teleport player to {revival}
- hide the player from all players
- execute console command "effect %player% speed 5 3"
- wait 5 second
- reveal player to all players
- on death:
- clear victim's inventory
- on first join:
- set the join message to "{@aooniprefix} &3%player%&bさんはサーバーに初参加です"
- on join:
- set the join message to "{@aooniprefix} &3%player%&bさんがサーバーに参加しました"
- on quit:
- set the quit message to "{@aooniprefix} &3%player%&bさんがサーバーから退出しました"
- # These are the main functions. It is not recommended to edit the file further than these options, unless you know what you're doing.
- options:
- # Set the prefix of commands here.
- prefix: &c[&bAooni&c]
- # Set the permission required to execute this command.
- perm: is.admin
- # Set the message if the player has not gotten that permission.
- noperm: &cYou don't have the permission to do that!
- # The least amount of items that a chest can get.
- minitems: 3
- # The maximal amount of items that a chest can get.
- maxitems: 3
- # Don't edit the information below.
- author: Efnilite
- copyright: MillenniumUS
- version: 1.0
- # Set all of your custom items here.
- on load:
- clear {ritem::*}
- # You can add as many things as you like. You just need to repeat what I am doing here multiple times.
- # This adds 1 diamond boots to the random item list. In the text you will atleast need the parts of the list and the add.
- # COPY AND PASTE THIS: add (amount of items you want) (type of item) to {cheloc::*}
- # NOTE :: If there is only one item in the stack then you can just type: add (type of item) to {cheloc::*}
- # If you don't want to edit this, then I have already made a half decent setup, for mostly SkyWars and SurvivalGames use.
- # If you don't want all this extra stuff, then just remove all of it.
- add 1 cooked porkchop to {ritem::*}
- add 1 cooked porkchop to {ritem::*}
- add 1 cooked porkchop to {ritem::*}
- # Actual command. Not recommended to edit.
- command /mchest [<text>]:
- trigger:
- if arg 1 is "add":
- if player has permission "{@perm}":
- if target block is chest:
- add location of target block to {cheloc::*}
- message "{@prefix} Succesfully executed &3AddChest"
- loop {cheloc::*}:
- if loop-value is location of target block:
- message "{@prefix} This chest has already been checked as a mCHEST!"
- stop
- else:
- message "&b{@prefix} You need to select a chest!"
- else:
- message "{@noperm}"
- if arg 1 is "remove":
- if player has permission "{@perm}":
- if target block is a chest:
- remove location of target block from {cheloc::*}
- message "{@prefix} Succesfully removed the selected chest!"
- clear inventory of target block
- stop
- else:
- message "{@prefix} You need to select a chest!"
- else:
- message "{@noperm}"
- if arg 1 is "refill":
- if player has permission "{@perm}":
- loop {cheloc::*}:
- set {_cheslot::*} to ""
- loop 27 times:
- add loop-number to {_slotnum::*}
- clear inventory of block at loop-value
- wait 1 tick
- set {_loop} to a random integer between {@minitems} and {@maxitems}
- loop {_loop} times:
- set {_cheitem} to a random element out of {ritem::*}
- set {_cheslot} to a random element out of {_slotnum::*}
- add {_cheitem} to slot ({_cheslot} - 1) of block at loop-value-1
- else:
- message "{@noperm}"
- if arg 1 is "about" OR "version":
- message "&3&lmChests &r&b> Currently running version &3{@version}&b, copyright &3{@copyright} &band was created by &3{@author}"
- if arg 1 is not set:
- if player has permission "{@perm}":
- message "{@prefix} You need to specify a command! Usage: /mchest <add/remove/refill>"
- else:
- message "{@noperm}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement