-################################################################################ -# -# d W o r l d E d i t o r -# -# -# Authors: |Anthony|, mcmonkey -# Version: 0.21 -# dScript Version: 0.9.6-DEV-b54 -# -# -# -#--- About this script -# -# This is a basic recreation of WorldEdit in denizen -# -#--- Permission nodes -# dwe.basic: use the /dwe command -# dwe.admin: Admin commands -# dwe.chunk: Set the chunk you are standing in as your selection -# dwe.contract: Contract your region selection -# dwe.expand: Expand your region selection -# dwe.inset: Inset your region selection +CraftBukkit Version: git-Spigot-1304 (MC: 1.7.2) +Active Plugins: 2WorldBorder: 1.7.7, 2iTags: 2.1.1, 2Buycraft: 6.4, 2mcore: 7.0.1, 2Vault: 1.2.31-b411, +2Multiverse-Core: 2.5-b677, 2MobBountyReloaded: 376, 2Whitelist: 3.3, 2MCDocs: 14.4, +2CityGates: 1.7, 2Chairs: 3.3.beta, 2ItemAttributes: 1.2.0-SNAPSHOT-b102, 2EnderPearlCoolDown: 1.4, +2MOTD: 1.0.3, 2WhatIsIt: 1.3.7, 2BanManager: 3.13, 2ProtocolLib: 3.1.2, 2Votifier: 1.9, +2MobArena: 0.96.2, 2Catacombs: 3.6, 2ToughAnvils: 1.1-SNAPSHOT, 2GAListener: 0.9, +2Citizens: 2.0.11-SNAPSHOT (build 1071), 2Referrals: 0.463, 2AlphaChest: 1.16.0, +2WorldEdit: 5.5.9-SNAPSHOT:3000-ab0d170,master, 2MythicDrops: 3.0.0-SNAPSHOT-b307-STABLE, +2VotifierCount: 1.0.5, 2PermissionsEx: 1.20.4, 2HealthBar: 1.8.1, 2CombatTag: 6.0.2, +2WorldGuard: 5.8.1-SNAPSHOT:1268-2df3290,master with custom flags plugin., 2Give All: 0.1, +2PvPTimer: 1.2, 2CombatApples: 1.0, 2MobSpawnControl: 2.4.4, 2massivetickets: 1.2.0, +2NoFarm: 0.8, 2ClearLag: 2.6.2, 2Herochat: 5.6.7-SNAPSHOT, 2TrophyHeads: 1.12.6, +2AutoAnnouncer: 1.7-03.23, 2CommunityBridge: 2.1.3.341, 2Essentials: Pre2.13.1.2, +2HyperConomy: 0.974.3, 2floAuction: 2.10.3, 2SilkSpawners: 3.3.4, 2HyperMerchant: 1.4-dev, +2LeveledMobs: 13.0, 2Denizen: 0.9.4-SNAPSHOT (build Unknown), 2WGCustomFlags: 1.6, +2mcMMO: 1.5.00-SNAPSHOT-b96, 2SimpleRegionMarket: 3.6, 2EssentialsProtect: Pre2.13.1.2, +2EssentialsSpawn: Pre2.13.1.2, 2BattleTracker: 2.5.8.4, 2EssentialsGeoIP: Pre2.13.1.2, +2VanishNoPacket: 3.18.7, 2WGBlockRestricter: 1.7, 2AuthMe: 3.2, 2CompatNoCheatPlus: 6.4.5-SNAPSHOT-sMD5NET-b64, +2NoCheatPlus: 3.10.8-SNAPSHOT-sMD5NET-b655, 2Factions: 2.3.0, 2ObsidianDestroyer: 4.1.3, +2Sentry: 1.7.1, 2BattleArena: 3.9.5.8, 2FactionAlert: 0.1-Beta +Loaded Worlds: world, world_nether, world_the_end +Online Players: TheRealKeith7(TheRealKeith) -# dwe.outset: Outset your region selection -# dwe.pos: Use commands to set selection positions -# dwe.set: Set the blocks in a selection -# dwe.shift: Shift your selection -# dwe.show: Show your current region selection -# dwe.wand: Get the region selection wand -# dwe.undo: Undo previous edits -# -# -# TODO: -# - Selection -# - Inset -# - Outset -# - Shift -# - Editing & Clipboard -# - Copy -# - Paste -# - Stack -# - Rotate -# - Permissions -# - Permissions for each individual command -# - Parent permissions for categories (selection,tool,navigation) -# - Config File -# - Maxblocks to change per operation -# - Undo history size -# - async-blockedit -# -# -################################################################################ -# -# dWE World Events Script -# -# This should cover all dWE related world events. -# -dWE_Events: - type: world - debug: false - events: - on player clicks block: - - if queue clear - - determine passively CANCELLED - - inject instantly -dWE_Msg: - type: item - debug: false - material: i@human_skull - display name: "<&4> [<&6>dWE<&4>]" - lore: - - <&5>Click for Help - script: - - ^define text '<&4>[<&6>dWE<&4>]' - - ^define hover '{}' - - ^define click '/dwe help' - - ^define button "text:'%text%',clickEvent:{action:run_command,value:'%click%'},hoverEvent:{action:show_item,value:'%hover%'}" - - ^define spacer "text:' '" - - ^define msg "text:'%1%'" - - ^execute as_server "tellraw {text:'',extra:[{%button%},{%spacer%},{%msg%}]}" - - set_Pos: - - inject s@dWE_Commands p:selection_Size instantly - - run s@dWE_Msg 'def:<&f>POS%pos%<&co> <&3><&o>, <&3><&o>]> <&7>(<&o>%size%<&7>)' - - set_pos1: - - run s@dWE_Msg 'def:<&f>Selection started at <&3><&o>,<&3><&o>]>' - - set_pos2: - - inject s@dWE_Commands p:selection_Size instantly - - run s@dWE_Msg 'def:<&f>Selection expanded to include<&co> <&3><&o>,<&3><&o>]> <&7>(<&o>%size%<&7>)' - - shift: - - inject s@dWE_Commands p:selection_Size instantly - - run s@dWE_Msg 'def:<&f>Shifted<&f> <&7><&o>%direction% <&7>by <&o>%n% <&7>blocks (<&o>%size%<&7>)' +10:50:45 [INFO] e+> 8Executing 'eEvent8': 8Type='eon entity damages entity8' + 8Container='bLIFESTEAL1e(WORLD)8' 8Player='eTheRealKeith8' + 8Context='e{cause=ENTITY_ATTACK, damager=p@TheRealKeith, + entity=e@1645, damage=11.5}8' +10:50:45 [INFO] d+- Building event 'ON ENTITY DAMAGES ENTITY' for + LIFESTEAL1 ---------+ +10:50:45 [INFO] d fStarting InstantQueue 'ENEENNDNIE'... +10:50:45 [INFO] d+- Executing dCommand: IF/TheRealKeith ---------+ +10:50:45 [INFO] d fFilled tag <context.damager.is_player> with 'true'. +10:50:45 [INFO] d feComparable 1: fLogic='NEGATIVE', + Comparable='Boolean(btruef)', Operator='EQUALS', + ComparedTo='Boolean(btruef)' e--> OUTCOME='false' +10:50:45 [INFO] d+- Executing dCommand: IF/TheRealKeith ---------+ +10:50:45 [INFO] d fFilled tag <player.item_in_hand.lore> with 'li@FType: + Diamond Sword|6An item only the legendary can + hold.|6Lifesteal + III|6(Socket)|6(Socket)|6(Socket)|6(Socket)|6(Socket)|9+3 + Lifesteal|4Lifesteal does not stack|4Cannot lifesteal when + Poisoned'. +10:50:45 [INFO] d fFilled tag <player.has_effect[poison]> with 'false'. +10:50:45 [INFO] d feComparable 1: fComparable='dList(bli@ Diamond Sword|6An item + only the legendary can hold.|6Lifesteal + III|6(Socket)|6(Socket)|6(Socket)|6(Socket)|6(Socket)|9+3 + Lifesteal|4Lifesteal does not stack|4Cannot lifesteal when + Poisonedf)', Operator='CONTAINS', + ComparedTo='String(bLifestealf)' e--> OUTCOME='false' +10:50:45 [INFO] d feComparable 2: fLogic='NEGATIVE', + Comparable='Boolean(bfalsef)', Operator='EQUALS', + ComparedTo='Boolean(btruef)' e--> OUTCOME='true' +10:50:45 [INFO] d fCompleting queue 'ENEENNDNIE'. - - expand: - - inject s@dWE_Commands p:selection_Size instantly - - define expandBy '' - - run s@dWE_Msg 'def:<&f>Expanded<&f> <&7><&o>%direction% <&7>by <&o>%expandBy% <&7>blocks (<&o>%size%<&7>)' - - contract: - - inject s@dWE_Commands p:selection_Size instantly - - define contractBy '' - - run s@dWE_Msg 'def:<&f>Contracted<&f> <&7><&o>%direction% <&7>by <&o>%contractBy% <&7>blocks (<&o>%size%<&7>)' - - inset: - - inject s@dWE_Commands p:selection_Size instantly - - define insetBy '' - - run s@dWE_Msg 'def:<&f>Inset<&f> <&7>by <&o>%insetBy% <&7>blocks (<&o>%size%<&7>)' - - outset: - - inject s@dWE_Commands p:selection_Size instantly - - define outsetBy '' - - run s@dWE_Msg 'def:<&f>Outset<&f> <&7>by <&o>%outsetBy% <&7>blocks (<&o>%size%<&7>)' - -dWE_Wand: - type: item - debug: false - material: m@wood_axe - display name: dWE Region Selector - lore: - - <&7><&o>Left<&7> click to start a selection - - <&7><&o>Right<&7> click to expand the selection - - script: - - if !> { - - take i@dWE_Wand - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&a>You should not have this!' instantly - - queue clear - } - - if define pos 1 - else if define pos 2 - else queue clear - - define pos1 '' - - define pos2 '' - - define type '' - - if inject locally %type% - else inject locally cuboid - - cuboid: - - if ]||false> { - - run s@dWE_Msg 'def:<&c>pos%pos% is already set' - - queue clear - } - - define pos%pos% '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - inject s@dWE_Msg p:set_Pos - - extender: - - define cuboid cu@%pos1%|%pos2% - - if %pos% == 1 { - - define cuboid cu@| - } - else { - - if %pos1% == null { - - run s@DWE_Msg 'Def:<&c>You must begin a selection before you can expand it.' - - queue clear - } - - define cuboid_old %cuboid% - - define cuboid ]> - - if == { - - run s@dWE_Msg 'def:<&c>That position is already included.' - - queue clear - } - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - inject s@dWE_Msg p:set_pos%pos% - - -################################################################################ -# -# Denizen World Editor Command Script Container -# -# This script covers all dWE commands -# -# -# -#-------------------------------------- -# -# dWE Command Script Basics -# -# The basic stuff required in a command script container -# -dWE_Commands: - type: command - debug: false - name: dwe - description: Denizen World Editor - usage: /dwe - aliases: '' - allowed help: - - determine > - script: - - if !> { - - narrate "You do not have permission to use this command." - - queue clear - } - - define arg1 '' - - define args 'li@help|wand|expand|contract|inset|outset|shift|pos1|pos2|hpos1|hpos2|sphere|chunk|show|set|undo' - - if ! inject locally help instantly - else inject locally %arg1% instantly - -# -# END dWE Command Script Basics -#-------------------------------------- -# -# dWE Command Arguments -# -# Each of these subscripts is an argument for the root command. -# - help: - - if >> inject locally msgsHelpAdmin instantly - else inject locally msgsHelpUser instantly - - inject locally msgsFooter instantly - - queue clear - - wand: - # /dwe wand (-type [cuboid/extender]) - - if !> { - - inject locally help - - queue clear - } - - if { - - define type ]||null> - - if { - - run s@dWE_Msg 'def:<&7><&o>Now using the <&f><&o>%type% <&7><&o>selection wand' - - flag player 'dWEWand_Type:%type%' - } - else { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>Unknown type!' - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe -type <&6><&lb><&7>cuboid/extender<&6><&rb>' - } - - queue clear - } - - give i@dWE_Wand - - define type '' - - if { - - run s@dWE_Msg 'def:<&a>Left click to select pos1' - - run s@dWE_Msg 'def:<&a>Right click to select pos2' - } - else { - - run s@dWE_Msg 'def:<&a>Left click to start a selection,' - - run s@dWE_Msg 'def:<&a>Right click to expand the selection.' - } - - queue clear - -# -#----------------------------- -# Selection Commands -# - show: - - if !> { - - inject locally help - - queue clear - } - - define pos1 '' - - define pos2 '' - - if run s@dWE_Msg 'def:<&c>Must select corner 1 with left-click.' - else if run s@dWE_Msg 'def:Must select corner 2 with right-click.' - else showfake m@blue_stained_glass to: d:10s - - pos1: - - if !> { - - inject locally help - - queue clear - } - - define pos1 '' - - if { - - run s@dWE_Msg 'def:<&c>pos1 is already set' - - queue clear - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - define pos 1 - - inject s@dWE_Msg p:set_Pos - - pos2: - - if !> { - - inject locally help - - queue clear - } - - define pos2 '' - - if { - - run s@dWE_Msg 'def:<&c>pos2 is already set' - - queue clear - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - define pos 2 - - inject s@dWE_Msg p:set_Pos - - hpos1: - - if !> { - - inject locally help - - queue clear - } - - define pos1 '' - - if { - - run s@dWE_Msg 'def:<&c>pos1 is already set' - - queue clear - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - define pos 1 - - inject s@dWE_Msg p:set_Pos - - hpos2: - - if !> { - - inject locally help - - queue clear - } - - define pos2 '' - - if { - - run s@dWE_Msg 'def:<&c>pos2 is already set' - - queue clear - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - define pos 2 - - inject s@dWE_Msg p:set_Pos - - chunk: - - if !> { - - inject locally help - - queue clear - } - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - run s@dWE_Msg 'def:<&f>Chunk selected<&co> ' - - expand: - # /dwe expand (n/s/e/w/u/d) - - define command 'expand' - - inject locally prerun instantly - - if { - - define pos1 ',0].replace[l@]>' - - define pos2 ']>,0].replace[l@]>' -# - define pos1 ',0,' -# - define pos2 ',255,' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - define direction 'Vertically' - - inject s@dWE_Msg p:expand - - queue clear - } - - - define n '' - - define d '' - - if { - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe expand <&6><&lb><&7>amount/v<&6><&rb> <&6>(<&7>direction<&6>)' - - queue clear - } - - if define d '|]>' - - if { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>Unknown direction!' - - queue clear - } - - if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'North' - - inject s@dWE_Msg p:expand - } - else if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'East' - - inject s@dWE_Msg p:expand - } - else if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'South' - - inject s@dWE_Msg p:expand - } - else if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'West' - - inject s@dWE_Msg p:expand - } - else if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'Up' - - inject s@dWE_Msg p:expand - } - else if { - - if ]> define pos1 '' - else define pos2 '' - - define direction 'Down' - - inject s@dWE_Msg p:expand - } - else { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>An impossible error occurred while expanding your selection!' - - queue clear - } - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - contract: - # /dwe contract (n/s/e/w/u/d) - - define command 'contract' - - inject locally prerun instantly - - define n '' - - define d '' - - if { - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe contract <&6><&lb><&7>amount<&6><&rb> <&6>(<&7>direction<&6>)' - - queue clear - } - - if define d '|]>' - - if { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>Unknown direction!' - - queue clear - } - - if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'North' - - inject s@dWE_Msg p:contract - } - else if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'East' - - inject s@dWE_Msg p:contract - } - else if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'South' - - inject s@dWE_Msg p:contract - } - else if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'West' - - inject s@dWE_Msg p:contract - } - else if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'Up' - - inject s@dWE_Msg p:contract - } - else if { - - if ]> define pos2 '' - else define pos1 '' - - define direction 'Down' - - inject s@dWE_Msg p:contract - } - else { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>An impossible error occurred while contracting your selection!' - - queue clear - } - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - inset: - # /dwe inset -h - - define command 'inset' - - inject locally prerun instantly - - define n '' - - if { - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe inset <&6><&lb><&7>amount<&6><&rb> <&6>(<&7>-h<&6>)' - - queue clear - } - - define cuboid cu@%pos1%|%pos2% - - if '' define cuboid 'cu@|' - - define cuboid 'cu@|' - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - inject s@dWE_Msg p:inset - - outset: - # /dwe outset -h - - define command 'outset' - - inject locally prerun instantly - - define n '' - - if { - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe outset <&6><&lb><&7>amount<&6><&rb> <&6>(<&7>-h<&6>)' - - queue clear - } - - define cuboid cu@%pos1%|%pos2% - - if '' define cuboid 'cu@|' - - define cuboid 'cu@|' - - define pos1 '' - - define pos2 '' - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - inject s@dWE_Msg p:outset - - shift: - # /dwe shift (n/s/e/w/u/d) - - define command 'shift' - - inject locally prerun instantly - - define n '' - - define d '' - - if { - - run s@dWE_Msg 'def:<&c>SYNTAX<&co> <&e>/dwe shift <&6><&lb><&7>amount<&6><&rb> <&6>(<&7>direction<&6>)' - - queue clear - } - - if define d '|]>' - - if { - - run s@dWE_Msg 'def:<&4><&l>ERROR<&co> <&c>Unknown direction!' - - queue clear - } - - define direction '' - - define n_math 'sub' - - define n_coord '0,0,%n%' - - define s_math 'add' - - define s_coord '0,0,%n%' - - define w_math 'sub' - - define w_coord '%n%,0,0' - - define e_math 'add' - - define e_coord '%n%,0,0' - - define d_math 'sub' - - define d_coord '0,%n%,0' - - define u_math 'add' - - define u_coord '0,%n%,0' - - define math '' - - define coord '' - - repeat 2 { - - define pos%value% '' - } - - inject s@dWE_Msg p:shift - - flag player dWEWand:! - - flag player dWEWand:|:%pos1%|%pos2% - - - -# END Selection Commands -#----------------------------- -# Editing Commands -# - - set: - # /dwe set - - define command 'set' - - inject locally prerun instantly - - define material - - if %material% !matches material { - - run s@dWE_Msg 'def:<&c>Must specify a valid material.' - - queue clear - } -# - define blocks - - define undoMaterials -# - ~modifyblock %blocks% %material% delayed - - ~modifyblock cu@%pos1%|%pos2% %material% delayed - - flag player 'dWE_UndoHistory:->:set_blocks;cu@%pos1%|%pos2%;%undoMaterials%' - - run s@dWE_Msg 'def:Set complete!' - - sphere: - # /dwe sphere ,[,] - - define command 'sphere' - - inject locally utility_prerun instantly - - define size - - define material - - define commas - - if %commas% != 2 && %commas% != 0 { - - run s@dWE_Msg 'def:<&c>/dwe sphere ,[,] ' - - queue clear - } - - if %material% !matches material { - - run s@dWE_Msg 'def:<&c>/dwe sphere ,[,] ' - - queue clear - } - - if %commas% == 0 { - - define size %size%,%size%,%size% - } - - if || { - - run s@dWE_Msg 'def:<&c>/dwe sphere ,[,] ' - - queue clear - } - - define ellipsoid ellipsoid@,%size% -# - define blocks - - define undoMaterials -# - ~modifyblock %blocks% %material% delayed - - ~modifyblock %ellipsoid% %material% delayed - - flag player 'dWE_UndoHistory:->:set_blocks;;%undoMaterials%' - - run s@dWE_Msg 'def:Set complete!' - - copy: - # /dwe copy - - define command 'set' - - inject locally prerun instantly - - define blocks '' - - flag player dWE_Clipboard:! - - flag player 'dWE_Clipboard:|:' - - run s@dWE_Msg 'def:<&7><&o>Selection saved to clipboard' - - paste: - # /dwe paste - - if !> { - - inject locally help - - queue clear - } - - narrate "stub" - - rotate: - # /dwe rotate <90/180/270/360> - - if !> { - - inject locally help - - queue clear - } - - narrate "stub" - - undo: - - if !> { - - inject locally help - - queue clear - } - - define last_action '' - - if run s@dWE_Msg 'def:<&6>Nothing to undo!' - else { - - inject locally 'p:undo_' - - flag player 'dWE_UndoHistory:<-:%last_action%' - } - -# -# END dWE Command Arguments -#-------------------------------------- -# -# dWE Command Utilities -# -# Just some commonly used code blocks -# - prerun: - - if !> { - - inject locally help - - queue clear - } - - define pos1 '' - - define pos2 '' - - if - || { - - run s@dWE_Msg 'def:<&c>No region selected!' - - queue clear - } - - inject s@dWE_Commands p:selection_Size instantly - - define oldSize '%size%' - - utility_prerun: - - if !> { - - inject locally help - - queue clear - } - - undo_set_blocks: -# - define cuboid '' - - define selection '' - - define materials '' -# - ~modifyblock %cuboid% %materials% delayed - - ~modifyblock %selection% %materials% delayed - - run s@dWE_Msg 'def:<&a>Undo complete!' - - selection_Size: - - define x '>].abs.add[1]||1>' - - define y '>].abs.add[1]||1>' - - define z '>].abs.add[1]||1>' - - define size '' - -# -# END dWE Command Utilities -#-------------------------------------- -# -# dWE Command Messages -# -# These are not complete! They are mostly just stubs till the rest is fleshed out! -# - msgsHeader: - - narrate "<&5>|----------------------------------------|" - - narrate "<&5>|<&sp><&sp><&sp><&6>dWorldEditor <&7>%msgsHeaderTitle%" - - narrate "<&5>|<&f>" - - msgsFooter: - - define anthony "text:'<&7>|Anthony|',clickEvent:{action:open_url,value:'http://mineconomy.org'},hoverEvent:{action:show_item,value:'{}'}" - - define morphan "text:'<&7>Morphan1',clickEvent:{action:open_url,value:'http://en.wikipedia.org/wiki/Candy'},hoverEvent:{action:show_item,value:'{}'}" - - define mcmonkey "text:'<&7>mcmonkey',clickEvent:{action:open_url,value:'http://mcmonkey.org'},hoverEvent:{action:show_item,value:'{}'}" - - define spacer "text:' '" - - define prefix "text:'<&5>| <&f>Authors: '" - - execute as_server "tellraw {text:'',extra:[{%prefix%},{%anthony%},{%spacer%},{%morphan%},{%spacer%},{%mcmonkey%}]}" - - narrate "<&d>|-----------S-c-r-o-l-l---U-p-------------|" - - msgsHelpAdmin: - - define msgsHeaderTitle 'Admin Help' - - inject locally msgsHeader instantly - - narrate "<&5>|<&sp><&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&f>" - - msgsHelpUser: - - define msgsHeaderTitle 'User Help' - - inject locally msgsHeader instantly - - narrate "<&5>|<&sp><&sp><&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&sp><&f>" - - narrate "<&5>|<&sp><&f>" - -# -# END dWE Command Messages -#-------------------------------------- -# -# other utilities -# -# These are not complete! They are mostly just stubs till the rest is fleshed out! -# - - -# Usage: -getFacing: - type: procedure - definitions: pitch|yaw - script: - - if determine d - else if determine u - else if || determine s - else if determine se - else if determine e - else if determine ne - else if determine n - else if determine nw - else if determine w - else if determine sw - else determine 0 - -# -# END other utilities -#-------------------------------------- -# -# dWE author banner items -# -# Banner items representing the authors -# -dwe_Author_mcmonkey: - type: item - material: creeper_skull - display name: <&2><&l>MCMONKEY - lore: - - <&a>Click to visit http://mcmonkey.org - -dwe_Author_Morphan1: - type: item - material: creeper_skull - display name: <&2><&l>Morphan1 - lore: - - <&a>pls2buymesome - -dwe_Author_Anthony: - type: item - material: i@human_skull - display name: "<&f> |Anthony|" - lore: - - <&7> Owner<&co> <&e>M<&6>ine<&e>C<&6>onomy <&e>N<&6>etwork - - <&5>------------------------- - - <&7> - - <&7> I`ve been playing minecraft - - <&7> and running a server since - - <&7> 2010. I have fun and share - - <&7> what I do. - - <&7> - - <&9> Click To Visit -# -# END dWE author banner items -#--------------------------------------