PermEX | /setgroup, /addperm and much more! | PermissionsEx revised 1.8-1.16

PermEX | /setgroup, /addperm und vieles mehr! | PermissionsEx überarbeitet

  1. Lenny0408
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.15
    • 1.16
    Languages Supported:
    German, English
    [​IMG]
    PERMEX | Your revised PEX

    Is PermissionsEx too old for you?
    Then download this plugin and
    have simplified options.
    (Customizing and creating groups will be possible soon.)

    Commands:



      • /setgroup - Give ranks
      • /addperm - Add permissions
      • /removeperm - Remove permissions
      • /pex - list of all commands
      • /mun - Set the mun (message under name)
      • /groups - list of all commands



    Your must have:


    Code (Text):

    #---------------------------------------------------------

    #<<<<<<<<<<<<<<<<<<<<<<CONFIG>>>>>>>>>>>>>>>>>>>>>>>>>>


    #This prefix is display for all messages.
       prefix: &9&lPerm&b&lEX &8&l» &7
     
    #That is the "forpoint" name, so NAME.PERM
       permissionsname: permex
     
    #In this color is the normal text.
       textcolor: &7
     
    #This color is the color for names, groups, messages and all arguments
       argcolor: &b
     
    #Im in the credits, ok?
       credits: &8- &7This plugin is from TheZepser.de &8(&7German&8)


    #----------------------------------------------------------
     
    You can change "permex.PERM"


      • permex.pex - /pex, /permex, /rangsystem, /ranksystem
      • permex.setgroup - /setgroup, /groups
      • permex.addperm - /addperm
      • permex.removeperm - /removeperm
      • permex.unm - /unm
    Code (PHP):

    command /permex [<text>]:
       aliases: rangsystem, groupsystem, ranksystem, pex
       permission message: {@prefix}{@textcolor}You don't have permissions for that!
       permission: {@permissionsname}.pex
       trigger:
           if arg-1 is not set:
               send "{@prefix}{@textcolor}Set group &8- /&7setgroup &8(&7player&8) (&7rank&8)" to player
               send "{@prefix}{@textcolor}Add a permission &8- /&7addperm &8(&7player&8) (&7permission&8)" to player
               send "{@prefix}{@textcolor}Remove a permission &8- /&7removeperm &8(&7player&8) (&7permission&8)" to player
               send "{@prefix}{@textcolor}Grouplist &8- /&7groups"
               send "{@prefix}{@textcolor}Set the mun(message under you name) &8- /&7mun (&7player/group&8) &8(&7message&8)"
               send "{@credits}"
               stop
           if arg-1 is "reload":
               console command "permissionsex:pex reload"
               console command "skript:sk reload PermEX"
               console command "tab:tab reload"
               wait 50 ticks
               console command "skript:permex:reload:message %player%"
               stop
    command /permex:reload:message [<player>]:
       permission: {@permissionsname}.pex
       trigger:
           send "{@prefix}{@textcolor}This plugin is starting now!" to arg-1
           stop
    command /setgroup [<player>] [<text>]:
       permission: {@permissionsname}.setgroup
       permission message: {@prefix}{@textcolor}You don'
    t have permissions for that!
       trigger:
           if argument 1 is not set:
               message "{@prefix}{@textcolor}/setgroup &8({@argcolor}player&8) ({@argcolor}rank&8)"
               stop
           else:
               make console execute command "/permissionsex:pex user %arg 1% group set %arg 2%"
               make console execute command "/tab:tab reload"
               message "{@prefix}{@textcolor}You have set {@argcolor}%arg 1% {@textcolor}the rank {@argcolor}%arg 2% {@textcolor}."
               stop
               
    command /addperm [<player>] [<text>]:
       permission: {@permissionsname}.addperm
       permission message: {@prefix}{@textcolor}You don't have permissions for that!
       trigger:
           if argument 1 is not set:
               message "{@prefix}{@textcolor}&8/&7addperm &8(&7player&8) (&7permission&8)"
               stop  
           else:
               make console execute command "/permissionsex:pex user %arg 1% add %arg 2%"
               make console execute command "/tab:tab reload"
               message "{@prefix}{@textcolor}you have add {@argcolor}%arg 1% {@textcolor}the permission {@argcolor}%arg 2% {@textcolor}."
               stop
               
    command /removeperm [<player>] [<text>]:
       permission: {@permissionsname}.removeperm
       permission message: {@prefix}{@textcolor}You don'
    t have permissions for that!
       trigger:
           if arg 1 is not set:
               message "{@prefix}{@textcolor}&8/&7removeperm &8(&7Spieler&8) (&7Recht&8)"
               stop
           else:
               make console execute command "/permissionsex:pex user %arg 1% remove %arg 2%"
               make console execute command "/tab:tab reload"
               message "{@prefix}{@textcolor}You have remove {@argcolor}%arg 1% {@textcolor}the permission {@argcolor}%arg 2% {@textcolor}."
               stop
               
    command /groups:
       permission: {@permissionsname}.setgroup
       permission message: {@prefix}{@textcolor}You don't have permissions for that!
       trigger:
           send "&8----{@argcolor}Groups&8----"
           make player execute command "permissionsex:pex group"
           send "&8----{@argcolor}Groups&8----"
           stop
       
    command /mun [<player>] [<text>]:
       aliases: unm
       permission: {@permissionsname}.mun
       permission message: {@prefix}{@textcolor}You don'
    t have permissions for that!
       trigger:
           if arg-1 is not set:
               send "{@prefix}{@textcolor}Syntax&8: &8/&7mun &8(&7group/player&8) (&7message under your name&8)"
               stop
           if arg-1 is "remove":
               send "{@prefix}{@textcolor}Your mun is &cremove&7."
               console command "tab:tab player %player% belowname"
               stop
           if arg-2 is set:
               console command "tab:tab player %arg-1% belowname %arg-2%"
               console command "tab:tab group %arg-1% belowname %arg-2%"
               send "{@prefix}{@textcolor}Your mun{@textcolor} from the group/player {@argcolor}%arg-1%{@textcolor} is {@argcolor}%arg-2%!"
           else:
               send "{@prefix}{@textcolor}Your mun{@textcolor} is {@argcolor}%arg-2%{@textcolor}!"
               console command "tab:tab player %player% belowname &7%arg-2%"
               stop
     

    PERMEX | Dein überarbeitetes PEX

    Ist Dir PermissionsEx zu alt?
    Dann lade dieses Plugin herunter und
    habe vereinfachte Möglichkeiten.
    (Gruppen anpassen und erstellen ist bald möglich.)

    Befehle:
    • /setgroup - Ränge geben
    • /addperm - Rechte hinzufügen
    • /removeperm - Rechte entfernen
    • /pex - Liste aller Befehle
    • /unm - Setze den UNMᴺᴬᶜᴴᴿᴵᶜᴴᵀ ᵁᴺᵀᴱᴿ ᴰᴱᴵᴺᴱᴹ ᴺᴬᴹᴱᴺ
    • /groups - Liste aller Gruppen



    Du benötigst:

    1. TAB - https://www.spigotmc.org/resources/tab-1-7-x-1-16-5-free-version.57806/
    2. PermissionsEx - https://github.com/PEXPlugins/PermissionsEx/releases
    3. Skript - https://skunity.com/download
    Code (Text):

    #---------------------------------------------------------

    #<<<<<<<<<<<<<<<<<<<<<<CONFIG>>>>>>>>>>>>>>>>>>>>>>>>>>


    #Dieser Prefix wird vor JEDER Nachicht angezeigt.
       prefix: &9&lPerm&b&lEX &8&l» &7
     
    #Dies ist der vorpunkt Name, sprich NAME.RECHT
       permissionsname: permex
     
    #In dieser Farbe ist der Text
       textcolor: &7
     
    #In dieser Farbe sind die wichtigen Namen und Wörter.
       argcolor: &b
     
    #Darf ich in den Credits sein?
       credits: &8- &7Dieses Plugin ist von TheZepser.de


    #----------------------------------------------------------
     
    (In der Config kann man das "permex" zu
    deiner Permission umstellen)
    • permex.pex - /pex, /permex, /rangsystem, /ranksystem
    • permex.setgroup - /setgroup, /groups
    • permex.addperm - /addperm
    • permex.removeperm - /removeperm
    • permex.unm - /unm
    Code (PHP):
    command /permex [<text>]:
        aliases: rangsystem, groupsystem, ranksystem, pex
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        permission: {@permissionsname}.pex
        trigger:
            if arg-1 is not set:
                send "{@prefix}{@textcolor}Gruppe setzen &8- /&7setgroup &8(&7Spieler&8) (&7Rang&8)" to player
                send "{@prefix}{@textcolor}Recht hinzufügen &8- /&7addperm &8(&7Spieler&8) (&7Recht&8)" to player
                send "{@prefix}{@textcolor}Recht entfernen &8- /&7removeperm &8(&7Spieler&8) (&7Recht&8)" to player
                send "{@prefix}{@textcolor}Gruppenliste &8- /&7groups"
                send "{@prefix}{@textcolor}Setze den UNMᴺᴬᶜᴴᴿᴵᶜᴴᵀ ᵁᴺᵀᴱᴿ ᴰᴱᴵᴺᴱᴹ ᴺᴬᴹᴱᴺ &8- /&7unm &8(&7Nachricht&8) (&7Spieler/Gruppe&8)"
                send "{@credits}"
                stop
            if arg-1 is "reload":
                console command "permissionsex:pex reload"
                console command "skript:sk reload PermEX"
                console command "tab:tab reload"
                wait 50 ticks
                console command "skript:permex:reload:message %player%"
                stop
    command /permex:reload:message [<player>]:
        permission: {@permissionsname}.pex
        trigger:
            send "{@prefix}{@textcolor}Das Plugin wurde nun neugestartet!" to arg-1
            stop
    command /setgroup [<player>] [<text>]:
        permission: {@permissionsname}.setgroup
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        trigger:
            if argument 1 is not set:
                message "{@prefix}{@textcolor}/setgroup &8({@argcolor}Spieler&8) ({@argcolor}Rang&8)"
                stop
            else:
                make console execute command "/permissionsex:pex user %arg 1% group set %arg 2%"
                make console execute command "/tab:tab reload"
                message "{@prefix}{@textcolor}Du hast {@argcolor}%arg 1% {@textcolor}den Rang {@argcolor}%arg 2% {@textcolor}gegeben."
                stop
     
    command /addperm [<player>] [<text>]:
        permission: {@permissionsname}.addperm
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        trigger:
            if argument 1 is not set:
                message "{@prefix}{@textcolor}&8/&7addperm &8(&7Spieler&8) (&7Recht&8)"
                stop
            else:
                make console execute command "/permissionsex:pex user %arg 1% add %arg 2%"
                make console execute command "/tab:tab reload"
                message "{@prefix}{@textcolor}Du hast dem Spieler {@argcolor}%arg 1% {@textcolor}das Recht {@argcolor}%arg 2% {@textcolor}hinzugefügt."
                stop
     
    command /removeperm [<player>] [<text>]:
        permission: {@permissionsname}.removeperm
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        trigger:
            if arg 1 is not set:
                message "{@prefix}{@textcolor}&8/&7removeperm &8(&7Spieler&8) (&7Recht&8)"
                stop
            else:
                make console execute command "/permissionsex:pex user %arg 1% remove %arg 2%"
                make console execute command "/tab:tab reload"
                message "{@prefix}{@textcolor}Du hast dem Spieler {@argcolor}%arg 1% {@textcolor}das Recht {@argcolor}%arg 2% {@textcolor}entfernt."
                stop
     
    command /groups:
        permission: {@permissionsname}.setgroup
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        trigger:
            send "&8----{@argcolor}Gruppen&8----"
            make player execute command "permissionsex:pex group"
            send "&8----{@argcolor}Gruppen&8----"
            stop
     
    command /unm [<player>] [<text>]:
        permission: {@permissionsname}.unm
        permission message: {@prefix}{@textcolor}Dafür hast du keine Berechtigungen.
        trigger:
            if arg-1 is not set:
                send "{@prefix}{@textcolor}Syntax&8: &8/&7unm &8(&7Gruppe/Spieler&8) (&7Nachricht unter deinem Namen&8)"
                stop
            if arg-1 is "remove":
                send "{@prefix}{@textcolor}Deine UNMᴺᴬᶜᴴᴿᴵᶜᴴᵀ ᵁᴺᵀᴱᴿ ᴰᴱᴵᴺᴱᴹ ᴺᴬᴹᴱᴺ ist nun &centfernt&7."
                console command "tab:tab player %player% belowname"
                stop
            if arg-2 is set:
                console command "tab:tab player %arg-1% belowname %arg-2%"
                console command "tab:tab group %arg-1% belowname %arg-2%"
                send "{@prefix}{@textcolor}&oDer UNMᴺᴬᶜᴴᴿᴵᶜᴴᵀ ᵁᴺᵀᴱᴿ ᴰᴱᴵᴺᴱᴹ ᴺᴬᴹᴱᴺ&r{@textcolor} von der/dem Gruppe/Spieler {@argcolor}%arg-1%{@textcolor} ist nun {@argcolor}%arg-2%!"
            else:
                send "{@prefix}{@textcolor}&oDein UNMᴺᴬᶜᴴᴿᴵᶜᴴᵀ ᵁᴺᵀᴱᴿ ᴰᴱᴵᴺᴱᴹ ᴺᴬᴹᴱᴺ&r{@textcolor} ist nun {@argcolor}%arg-2%{@textcolor}!"
                console command "tab:tab player %player% belowname &7%arg-2%"
                stop

    Images

    1. 1616227929085.png
    2. 1585214913159.png