Ultimate-Staff [Skript] (StaffMode, StaffChat, AdminMode & AdminChat) icon

Ultimate-Staff [Skript] (StaffMode, StaffChat, AdminMode & AdminChat) -----

Skript, Staff, staffmode, adminmode, staffchat, adminchat



===================================

Ultimate-Studios

Entwickler: " JanikGaming"

Skript: Ultiamte-Staff
Version: 0.1.1

===================================

Features:
- staffchat
- adminchat
- staffmode
- adminmode

============================================

List Permissions:

- staff.bypass
- staff.info
- staff.use.staffchat
- staff.use.adminchat
- staff.use.staffmode
- staff.use.adminmode
- staff.use.reload
- staff.admin

============================================

Commands

/staffchat
/adminchat

/staffmode <on/off>
/adminmode <on/off> <1(Sichtbar)/2(Unsichtbar)>

============================================



Code (Text):

#===================================#
#                                   #
#         Ultimate-Studios          #
#      ----------------------       #
#     Entwickler "JanikGaming"      #
#                                   #
#        Skript: Ultiamte-Staff        #
#          Version: 0.1.1           #
#                                   #
#===================================#
#
# Features:
# - Vanish
# - StaffChat
# - AdminChat
# - StaffMode
# - AdminMode
#
#============================================
#
# List Permissions:
#
# - staff.bypass
# - staff.info
# - staff.use.staffchat
# - staff.use.adminchat
# - staff.use.staffmode
# - staff.use.adminmode
# - staff.use.reload
# - staff.admin
#
#============================================

options:

    prefix: &8[&dStaff&8]
    adminchatprefix: &8[&4Admin-Chat&8] &b&7
    staffchatprefix: &8[&dStaff-Chat&8] &b&7
 
    line: &d>&8&m--------------------
    filename: ultimate-staff
    version: 0.1.1
    Download-Link: https://

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

Messages:

#Vanish
    messageVanish: &aDu bist nun Unsichtbar!
    messageUnVanish: &cDu bist nun Sichtbar!
    messageVanish-ActionBar: &aDu bist Unsichtbar!
 
#StaffChat
    messageStaffChatToggle-On: &aDu schreibst nun im StaffChat!
    messageStaffChatToggle-Off: &cDu schreibst nun wieder im normalen Chat!
    messageStaffChat-ChatFormat-OnCommand: %player's displayname% &7= &7%arg-1%
    messageStaffChat-ChatFormat-OnChat: %player's displayname% &7= &7%message%
 
#AdminChat
    messageAdminChatToggle-On: &aDu schreibst nun im AdminChat!
    messageAdminChatToggle-Off: &cDu schreibst nun wieder im normalen Chat!
    messageAdminChat-ChatFormat-OnCommand: %player's displayname% &7= &7%arg-1%
    messageAdminChat-ChatFormat-OnChat: %player's displayname% &7= &7%message%

#StaffMode
    messageStaffModeToggle-On: &aDu hast den StaffMode aktiviert!
    messageStaffModeToggle-Off: &cDu hast den StaffMode deaktiviert!

#AdminMode
    messageStaffModeToggle-On-1: &aDu hast den AdminMode (Sichtbar) aktiviert!
    messageStaffModeToggle-On-2: &aDu hast den AdminMode (Unsichtbar) aktiviert!
    messageStaffModeToggle-Off: &cDu hast den StaffMode deaktiviert!

#Reload
    messageReload: &aSuccessfully reloaded!
 
#No Permissions
    messageNoPermission: &cDu hast keine Rechte diesen Befehl zu nutzen!

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

#Freeze
settingsExecuteDisconnect: /ban %player%

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

variables:
    {staff.Staffchat.%player%} = false
    {staff.Adminchat.%player%} = false
    {staff.vanish.%player%} = false

#StaffChat
command /staffchat [<text>]:
    aliases: /sc, /schat
    trigger:
        if executor has permission "staff.use.staffchat":
            if arg 1 is not set:
                if {staff.Staffchat.%player%} is false:
                    set {staff.Staffchat.%player%} to true
                    send "{@prefix} &aDu schreibst nun im StaffChat!"
                else:
                    set {staff.Staffchat.%player%} to false
                    send "{@prefix} &cDu schreibst nun wieder im normalen Chat!"
            if arg 1 is set:
                loop all players:
                    if loop-player has permission "staff.use.staffchat":
                        send "{@prefix} %arg-1%" to loop-player
        else:
            send "{@prefix} &cDu hast keine Rechte diesen Befehl zu nutzen!"
       
#AdminChat
command /adminchat [<text>]:
    aliases: /ac, /achat
    trigger:
        if executor has permission "staff.use.adminchat":
            if arg 1 is not set:
                if {staff.Adminchat.%player%} is false:
                    set {staff.Adminchat.%player%} to true
                    send "{@prefix} &aDu schreibst nun im AdminChat!"
                else:
                    set {staff.Adminchat.%player%} to false
                    send "{@prefix} &cDu schreibst nun wieder im normalen Chat!"
            if arg 1 is set:
                loop all players:
                    if loop-player has permission "staff.use.adminchat":
                        send "{@prefix} %arg-1%" to loop-player
        else:
            send "{@prefix} &cDu hast keine Rechte diesen Befehl zu nutzen!"
       
#StaffMode
command /staffmode [<text>]:
    aliases: /sm, /staffm, /smode
    trigger:
        if executor has permission "staff.staffmode.use" or "{@permissionbypass}":
            if arg 1 is "on":
                set {staff.stuffmode.%player%} to true
                send "{@line}"
                send "Staff-Mode &aOn"
                send "{@line}"
                execute console command "god %player%"
                execute console command "fly %player%"
                execute console command "effect give %player% minecraft:speed 99999 3 true"
                stop
            if arg 1 is "off":
                set {staff.mode.%player%} to false
                send "{@line}"
                send "Staff-Mode &4Off"
                send "{@line}"
                execute console command "god %player%"
                execute console command "fly %player%"
                execute console command "effect clear %player%"
                stop
            if arg 1 is "none":
                send "Nutze &7/staffmode <on/off>"
        else:
            send "{@prefix} &cDu hast keine Rechte diesen Befehl zu nutzen!"

#AdminMode
command /adminmode [<text>] [<text>]:
    aliases: /am, /adminm, /amode
    trigger:
        if executor has permission "staff.adminmode.use" or "{@permissionbypass}":
            if arg 1 is "on":
                if arg 2 is "1":
                    set {staff.adminmode.1.%player%} to true
                    send "{@line}"
                    send "Admin-Mode &aOn"
                    send "Modus: Sichtbar"
                    send "{@line}"
                    execute command "gamemode creative %player%"
                    execute command "effect give %player% minecraft:glowing 99999 1 true"
                    execute command "effect give %player% minecraft:speed 99999 3 true"
                    stop
                if arg 2 is "2":
                    set {staff.stuffmode.2.%player%} to true
                    send "{@line}"
                    send "Admin-Mode &aOn"
                    send "Modus: Unsichtbar"
                    send "{@line}"
                    hide the player from all players
                    add player to {staff.listvanish::*}
                    execute command "gamemode creative %player%"
                    stop
            if arg 1 is "off":
                set {staff.mode.%player%} to false
                send "{@line}"
                send "Admin-Mode &4Off"
                send "{@line}"
                reveal the player from all players
                remove player from {staff.listvanish::*}
                execute command "god %player%"
                execute command "fly %player%"
                execute command "effect clear %player%"
                execute command "gamemode survival %player%"
                stop
            if arg 1 is "none":
                send "Nutze &7/adminmode <on/off> <1(Sichtbar)/2(Unsichtbar)>"
        else:
            send "{@prefix} &cDu hast keine Rechte diesen Befehl zu nutzen!"

command /staff [<text>] [<player>] [<text>]:
    aliases: /staff, /s
    trigger:
        if executor is player:
            if player has permission "staff.admin" or "staff.info" or "staff.bypass" or "staff.use.staffchat" or "staff.use.adminchat" or "staff.use.staffmode" or "staff.use.adminmode" or "staff.command.reload":
                if arg 1 is not set:
                    make player execute command "/staff help"
                    stop
                if arg 1 is "help":
                    send "{@line}"
                    send "{@prefix} &aList Commands"
                    send ""
                    send "&d/staff help &7- &eListe alle Befehle auf"
                    send "&d/staff about &7- &eShow the about this skript"
                    send "&d/staff reload &7- &eReload the skript"
                    send "&d/staffmode &7- &eWechsle zum Staff-Mode"
                    send "&d/adminmode &7- &eWechsle zum Admin-Mode"
                    send "&d/staffchat [message] &7- &eSchreibe im StaffChat"
                    send "&d/adminchat [message] &7- &eSchreibe im AdminChat"
                    send "{@line}"
                    stop
                if arg 1 is "about":
                    send "{@line}"
                    send "{@prefix} &aVersion: &e{@version}"
                    send ""
                    send "&eCreated by JanikGaming"
                    send ""
                    send "{@line}"
                    stop
                if arg 1 is "reload":
                    if player has permission "staff.use.reload":
                        execute command "skript reload {@filename}"
                        wait 5 ticks
                        send "{@prefix} &aErfolgreich reloaded!"
                    else:
                        send "{@prefix} &cDu hast keine Rechte diesen Befehl zu nutzen!"
            else:
                send "{@messageNoPermission}"
                stop

on skript start:
    message "{@line}" to console
    message " " to console
    message "{@prefix} &aAktiv" to console
    message " " to console
    message "{@line}" to console
 
on join:
    if player has permission "staff.admin":
        wait 10 ticks
        send "{@line}"
        send "{@prefix}"
        send "&b&lUltimate-Studios"
        send "Entwickler: JanikGaming"
        send "Version: {@version}"
        send "{@line}"
        wait 30 ticks
        wait 0.4 seconds
        send "{@line}"
        send "{@prefix}"
        send "&7> &eUm auf dem neusten"
        send "&7> &eDein Skript läuft auf der Version: &7(&c{@version}&7)"
        send "&7> &eDownload Neue Version: &d&nhttps://www.spigotmc.org/resources/forcefield-skript.86259/"
        send "{@line}"
 


============================================

Besuche jetzt mein Social-Media

Discord: https://discord.gg/a2N7wkdDDN
Webseite: http://ultimate-studios.de
Resource Information
Author:
----------
Total Downloads: 121
First Release: Dec 1, 2020
Last Update: Dec 1, 2020
Category: ---------------
All-Time Rating:
1 ratings
Find more info at ultimate-studios.de...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings