ssEvents icon

ssEvents -----

An events plugin made for your ss server (Spigot/Paper)



SOFT-DEPEND: LuckPerms Official Site/ LuckPerms Spigot

Commands:
/sse:
- rl
- reload

Events:
JoinEvent: event triggered when a player joins the server
QuitEvent: event triggered when a player left the server
LukcPerms: JoinEvent, QuitEvent

Here's the config.yml:

Code (YAML):
# ssEvents CONFIG.YML made by danio#7394

# NOTE YOU SHOULD CONNECT LUCKPERMS TO MY_SQL IF YOU HAVE A BUNGEECORD SERVER
# AFTER YOU PUT THIS PLUGIN INTO JOUR PLUGINS FOLDER, YOU SHOULD SETUP THIS FILE FIRST TO JOIN THE SERVER!!

#This value ("staff-perm") is the most important value of the plugin, as it distinguishes
#the player from the suspect, chia has this permission is a staffer so all the actions of the plugin called staff-location, staffmessages and so on,
#this value is not delete or disable it because otherwise the plugin would not make sense because remember that it is a join event for rooms of ss
staff-perms
: "ssEvents.staff"

Messages
:
  no-perms
: "Unknow command."
  ReloadMSG
: "&aPlugin reloaded"
  args0
: "&cSpecify an action: 'rl, reload'"
  tooMuchArgs
: "&cToo much args"

#This will teleport the staffer to the indicated x,y,z.
#WARNING this can conflict with other plugins that use this feature, make sure you disable them
teleport-staff-to-xyz
: false #Find your coordinates and change this value to true
StaffJoinLocation
:
  x
: "8.5"
  y
: "0"
  z
: "11.5"

#This will teleport the suspect to the indicated x,y,z.
#WARNING this can conflict with other plugins that use this feature, make sure you disable them
teleport-suspect-to-xyz
: false #Find your coordinates and change this value to true
SuspectJoinLocation
:
  x
: "8.5"
  y
: "0"
  z
: "6.5"

#These are the messages that will be sent as an left event instead of the boring minecraft default message
#the placeholders that you can use here are [player] which indicates the player who just joined the server
join-messages-on
: true
JoinMessages
:
  StaffJoin
: "&bThe staffer [player] joined the server"
  SuspectJoin
: "&c[player] joined under hack control"

#These are the messages that will be sent as an abandonment event instead of the boring minecraft default message
#the placeholders that you can use here are [player] which indicates the player who just left the server
leave-messages-on
: true
LeaveMessages
:
  StaffLeave
: "&bThe staffer [player] left the server"
  SuspectLeave
: "&c[player] left the server under hack control"


# Place Holder API for Commands: [player] that replace the name of the player that joins
#There you can execute commands from the console, remember: don't put this in the commands: ""
#The staffer is different from the suspect by the:"staff-perms", who have the prefix is a staffer for the plugin
Commands
:
  Staffer
:
    JoinEvent
:
     - say this is an example command
      - give [player ] dirt 30
    QuitEvent
:
     - #Your Commands here
  Suspect
:
    JoinEvent
:
     - #Your Commands here
    QuitEvent
:
     - #Your Commands here


LUCKPERMS-IMPLEMENTATION
: true

#The staffer is different from the suspect by the:"staff-perms", who have the prefix is a staffer for the plugin
# Only if lp-add-group is true the group will be added
# The group will automatically be added when the players join and removed when they quits the server
lp-add-group
: true
Group
:
  staff-group
: "staffer"
  suspect-group
: "suspect"


#The staffer is different from the suspect by the:"staff-perms", who have the prefix is a staffer for the plugin
#Only if "lp-change-prefix" is true the prefix will be changed!
# The prefix will automatically be added when the players join and removed when they quits the server
lp-change-prefix
: true
Prefix
:
  staff-prefix
: "&b&lSTAFFER&f "
  StaffPriority
: 200
  suspect-prefix
: "&c&lSUSPECT&f "
  SuspectPriority
: 200


#The staffer is different from the suspect by the:"staff-perms", who have the prefix is a staffer for the plugin
# The permissions will automatically be added and removed when the players joins the server
lp-add-permissions
: true
lp-remove-permssions
: true
Permission
:
  Add
:
    Staff
:
     - my.permission
    Suspect
:
     - my.permission
  Remove
:
    Staff
:
     - my.permission
    Suspect
:
     - my.permission

As you can see is a very simple plugin made for the ss servers, it doesen't implements the /ss command but the events that are going to be triggered when the player/suspect joins and left the server, it also implements the most famous permission events: LuckPerms, it's a soft depend so you can decide to enable or not it.

The things that this plugin is going to do are: teleport the player and the staffer when they join the server the x,y,z can be set by the config, send different messages (editable by the config) when the player and staffer joins the server (if this option is true the default minecraft message is cancelled), execute every command you write in the config.yml for a player or a staffer that joins or left the server, LuckPerms implementation, you can enable or disable this option, if you need it i recommend you to use a database on your bungeecord, add and remove groups to the player and staffer, add and remove prefixes to the player and staffer, add and remove permissions to the player and staffer.

Every.. EVERY message or value, just everythig is configurable, you can disable or enable a function, i reccomend you to just disable and do not delete strings, and read my commends in the config.yml if you don't understand somethin.

I hope you can enjoy my plugins, use it carefully and maybe leave a good rate.

Contacts:
discord: danio#7394
telegram: @ddanio
email: [email protected]

Made whit love danio <3
Resource Information
Author:
----------
Total Downloads: 98
First Release: Feb 9, 2023
Last Update: Feb 11, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings