[skript] FunWar 1.5

Ein kleiner Lustiger Spielmodus :)

  1. LordRaspy
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.14
    • 1.16
    Languages Supported:
    German
    ~Please don't pay attention to the spelling mistakes, thanks.
    ~Bitte achtet nicht auf die Rechtschreibfehler, danke.

    Dieser kleine Spielmodus ist eine nette Abwechslung zum normalen Überleben, mehr giebts da nicht zu sagen :) viel spaß !

    Features:
    -
    Items haben nun neue Fähigkeiten Screenshot 2020-10-06 013534.png
    - Es gibt ein kleines Coins System Screenshot 2020-10-06 013439.png

    ~Nachdem der Skript auf dem Server installiert wurde erklärt sich
    der Rest eigentlich von selbst, also viel spaß mit meinem Skript.
    (Es wird das Plugin Scripts benötigt)

    Mit "/coins add" kann sich der Spieler 100Coins geben.

    Code (Text):
    on leftclick with a bow:
        if {coins.%player%} is above 9:
            remove 10 from {coins.%player%}
            send "&a Du hast die Fähigkeit Multishot genutzt!"
            loop 10 Times:
                shoot an arrow
                wait 0.1 second
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with a wooden sword:
        if {coins.%player%} is above 24:
            remove 25 from {coins.%player%}
            send "&a Du hast die Fähigkeit Stärke genutzt!"
            make player execute command "/effect give @p minecraft:strength 60 2 true"
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with a stone sword:
        if {coins.%player%} is above 29:
            remove 30 from {coins.%player%}
            send "&a Du hast die Fähigkeit Dash genutzt!"
            push the player upwards at speed 3
            wait 1 seconds
            push the player forwards at speed 5
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with a iron sword:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Suicide genutzt!"
            create an explosion of force 20 at the player
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with a golden sword:
        if {coins.%player%} is above 99:
            remove 100 from {coins.%player%}
            send "&a Du hast die Fähigkeit Invisebility genutzt!"
            make player execute command "/effect give @p minecraft:invisibility 60 99 true"
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with a diamond sword:
        if {coins.%player%} is above 149:
            remove 150 from {coins.%player%}
            send "&a Du hast die Fähigkeit Teleport genutzt!"
            make player execute command "/tp @s @p[distance=2..9999999999]"
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with blaze powder:
        if {coins.%player%} is above 99:
            remove 100 from {coins.%player%}
            send "&a Du hast die Fähigkeit Feuerball genutzt!"
            shoot an fireball in player's direction
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with emerald block:
        if {coins.%player%} is above 299:
            remove 300 from {coins.%player%}
            send "&a Du hast die Fähigkeit Heiligkeit genutzt!"
            make player execute command "/effect give @p minecraft:absorption 10 1 true"
            make player execute command "/effect give @p minecraft:health_boost 10 1 true"
            make player execute command "/effect give @p minecraft:strength 10 1 true"
            make player execute command "/effect give @p minecraft:instant_health 10 10 true"
            make player execute command "/effect give @p minecraft:fire_resistance 10 10 true"
            make player execute command "/effect give @p minecraft:invisibility 10 10 true"
            make player execute command "/effect give @p minecraft:saturation 10 1 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a slime block:
        if {coins.%player%} is above 19:
            remove 20 from {coins.%player%}
            send "&a Du hast die Fähigkeit Jumpboost genutzt!"
            make player execute command "/effect give @p minecraft:jump_boost 60 10 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a bone:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Speed genutzt!"
            make player execute command "/effect give @p minecraft:speed 60 2 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a arrow:
        if {coins.%player%} is above 1:
            remove 2 from {coins.%player%}
            send "&a Du hast die Fähigkeit Arrow genutzt!"
            shoot arrow in player's direction
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a glowstone dust:
        if {coins.%player%} is above 19:
            remove 20 from {coins.%player%}
            send "&a Du hast die Fähigkeit Glowing genutzt!"
            make player execute command "/effect give @a[distance=2..100] minecraft:glowing 120 99 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a nether star:
        if {coins.%player%} is above 499:
            remove 500 from {coins.%player%}
            send "&a Du hast die Fähigkeit Todestoß genutzt!"
            make player execute command "/effect give @e[distance=2..50] minecraft:instant_damage 120 99 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a oak leaves:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Federfall genutzt!"
            make player execute command "/effect give @p minecraft:slow_falling 60 1 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a feather:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Schweben genutzt!"
            make player execute command "/effect give @p minecraft:levitation 10 1 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with a sugar:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Speed genutzt!"
            make player execute command "/effect give @p minecraft:speed 60 2 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with an iron ingot:
        if {coins.%player%} is above 49:
            remove 50 from {coins.%player%}
            send "&a Du hast die Fähigkeit Protektion genutzt!"
            make player execute command "/effect give @p minecraft:resistance 60 2 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with an diamond:
        if {coins.%player%} is above 99:
            remove 100 from {coins.%player%}
            send "&a Du hast die Fähigkeit Protektion+ genutzt!"
            make player execute command "/effect give @p minecraft:resistance 120 5 true"
        else:
            send "&4 du hast nicht genug Coins!"

    on rightclick with an lapis lazuli:
        if {coins.%player%} is above 99:
            remove 100 from {coins.%player%}
            send "&a Du hast die Fähigkeit Levelaufstieg genutzt!"
            make player execute command "/xp add @p 1 levels"
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with an wooden pickaxe:
        if {coins.%player%} is above 99:
            remove 100 from {coins.%player%}
            send "&a Du hast die Fähigkeit Haste genutzt!"
            enchant the player's tool with efficiency 5
            wait 5 seconds
            disenchant the player's tool
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with an stone pickaxe:
        if {coins.%player%} is above 149:
            remove 150 from {coins.%player%}
            send "&a Du hast die Fähigkeit Haste+ genutzt!"
            enchant the player's tool with efficiency 10
            wait 10 seconds
            disenchant the player's tool
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with an iron pickaxe:
        if {coins.%player%} is above 199:
            remove 200 from {coins.%player%}
            send "&a Du hast die Fähigkeit Haste++ genutzt!"
            enchant the player's tool with efficiency 15
            wait 15 seconds
            disenchant the player's tool
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with an golden pickaxe:
        if {coins.%player%} is above 299:
            remove 300 from {coins.%player%}
            send "&a Du hast die Fähigkeit Haste+++ genutzt!"
            enchant the player's tool with efficiency 20
            wait 20 seconds
            disenchant the player's tool
        else:
            send "&4 du hast nicht genug Coins!"
     
    on rightclick with an diamond pickaxe:
        if {coins.%player%} is above 499:
            remove 500 from {coins.%player%}
            send "&a Du hast die Fähigkeit Ultimate Haste genutzt!"
            enchant the player's tool with efficiency 25
            wait 25 seconds
            disenchant the player's tool
        else:
            send "&4 du hast nicht genug Coins!"
     
    command /coins [<text>]:
        trigger:
            if arg 1 is not set:
                send "&a Du hast %{coins.%player%}% &aCoins !"
            if arg 1 is "clear":
                set {coins.%player%} to 0
                send "&a Deine Coins wurden ge-cleart !"
            if arg 1 is "add":
                add 100 to {coins.%player%}
                send "&a CHEATER!!"

    on block break:
        add 5 to {coins.%player%}
     
    on mine of any ore:
        add 10 to {coins.%player%}
        send "&4 Du hast 10 Coins erhalten!"
     
    on join:
        wait 1 second
        send "&6---------------------------"
        send "&e          Fun Wars         "
        send "&4  Version            1.5   "
        send "&4Patch:&aPickaxe Fähigkeiten!"
        send "&e    Made by Lord Raspy     "
        send "&c    Type      /funwars     "
        send "&6---------------------------"

    command /funwars:
        trigger:
            send "&6--------------------Fähigkeiten---------------------"
            send "&a -Bogen                    "
            send "&a -Alle Schwerter           "
            send "&a -Alle Spitzhacken         "
            send "&a -Blaze Powder             "
            send "&a -Emerald Block            "
            send "&a -Slime Block              "
            send "&a -Knochen                  "
            send "&a -Pfeil                    "
            send "&a -Glowstone Dust           "
            send "&a -Eichenlaub               "
            send "&a -Feder                    "
            send "&a -Zucker                   "
            send "&a -Eisen                    "
            send "&a -Diamant                  "
            send "&a -Lapis                    "
            send "&a -Und ein Geheimes...      "
            send "&6---------------------Sonstiges---------------------"
            send "&a -Du bekommst 5 Coins wenn du ein Block abbaust!"
            send "&a -Du bekommst 10 Coins wenn du ein Ore abbaust!"
            send "&a -Mit /coins siehst du deine Coins!"
            send "&a -Mit /coins clear kannst du deine Coins entfernen!"
            send "&6--------------------------------------------------"
     
    on damage:
        damage cause is fall:
            cancel event