Sueta

Custom Joins! | Great Donation Perk!

1.5.2

Different Join/leave msgs/commands per Player or Group. Also gives'Spawn-on-join' option

·Plugin


This is my first plugin and I know there are a lot of plugins like this, however, this is just the beginning. I'm hoping to soon add more features e.g Action bar messages and more variables. However currently it's very basic.

Features

  • Set A custom leave /join message per permission group.
  • Set a custom leave/join message per player
  • Custom first join message
  • Teleport to spawn every time they log in
  • A Sound played every time they log in
  • A first join commands
  • On Join commands
  • Compatible with the Placeholder API

Commands:
Admin:

/CJA

Shows the help menu for all commands
/CJA Reload
Reloads the config
/CJA CreateGroup <Group>
Creates a new group for leave/join messages
/CJA SetGroup Join <Group> <Join Message>
Sets the join message for that group
/CJA SetGroup Leave <Group> <LeaveMessage>
Deletes the message group
/CJA DeleteGroup <Group>
deletes the leave/join message for that group
/CJA SetPlayer Join <Player> <JoinMessage>
Sets players Join message
/CJA SetPlayer Leave <Player> <LeaveMessage>
Sets players Leave message
/CJA DeletePlayer <Player>
deletes the leave/join message for that player
/CJA SetSpawn
Sets the spawnpoint for Join-on-spawn option
/CJA Spawn
Teleports you to the spawn that has been set

Player:

/CJ SetJoin <Join Message>
Ability to set your join message
/CJ SetLeave <Leave Message>
Ability to set your leave message
/CJ Reset
Resets your leave/join messages
/CJ Toggle
Toggles between custom/group and default leave/join messages

Permissions:
CustomJoins.Admin - Acess to all admin commands
CustomJoins.vip - Acess to all Player commands
CustomJoins.toggle - Allows players to use the toggle command

Example Config:

# Use %playername% for the players name! 
# Use %displayname% for the players nickname/formatted! 
# More placeholders can be used with the Placeholder API 
Config-Version: '1.3' # Don't Touch 

FirstJoinMessage: '&5 %player% joined for the first time!' 

#The commands that get run when the player first joins 
FirstJoinCommands:  #Useful to give first join items 
- 'give %playername% diamond 5' 

#Commands that will be run when a player joins 
Use-JoinCommands: true 
JoinCommands: 
- 'give %playername% dirt 1' 
- 'msg %playername% Welcome' 
#Commands that will be run when a player leave 
Use-LeaveCommands: false 
LeaveCommands: 
- 'give %playername% dirt 1' 
- 'msg %playername% Welcome' 

#Should the player be teleported to spawn each time they join the server. 
SpawnOnJoin: false 
#The location for the spawn> you can use /cja setspawn instead of typing it. 
Spawn: 
  x: 
  y: 
  z: 
  pitch: 
  yaw: 
  world: 

Groups: 
  Default:  # The Default Welcome message if they have no perms 
    JoinMessage: '&8[&b+&8] &a%displayname%' 
    LeaveMessage: '&8[&b-&8] &a%displayname%' 
  Member:  # This will be use if the player has perm: CustomJoins.Member 
    JoinMessage: '&5Welcome %displayname%' 
    LeaveMessage: '&5%displayname% left' 
  Staff:  # This will be use if the player has perm: CustomJoins.Staff 
    JoinMessage: '' 
    LeaveMessage: '' 
  Vip:  # This will be use if the player has perm: CustomJoins.Vip 
    JoinMessage: '&4&k88&5%displayname% Joined&4&k88' 
    LeaveMessage: '&4&k88&5%displayname% Left&4&k88'

Messages Config:

Messages Config
Messages-Version   :  '1.1'  # Don't Touch  

 # /cj - Help menu   
cj-help-menu   : 
  - '&c-=-=-=-= &6&lCustom Joins &c=-=-=-=-' 
  - '&5/CJ Setjoin &2<Join Message> &3- Ability to set your join message' 
  - '&5/CJ Setleave &2<Leave Message> &3- Ability to set your leave message' 
  - '&5/CJ Reset &3- Resets your leave/join messages' 
 
cj-toggle-help-menu   :   # This will only appear in the help menu if the user has the CustomJoins.toggle permission  
  - '&5/CJ Toggle &3- Toggles between default/group/user messages' 
  - '&c-=-=-=-=-=-=-=-=-=-=-=-=-=-=-' 
 
invalid-permissions   :  '&4Invalid Permissions!' 
 
cj-reset   :  '&3Your Leave/Join message has been deleted' 
 
toggle-to-default   :  '&3Toggled to default Leave/Join Messages'  
toggle-to-group   :  '&3Toggled to group Leave/Join Messages'  
toggle-to-self   :  '&3Toggled to custom Leave/Join Messages'  
toggle-invalid   :  '&3Error, Nothing to toggle to. Try setting a leave/join message' 
 # More messages will be added soon for customisation.  
 
cj-setjoin   :  '&3You set your join message to &3' 
 
cj-setleave   :  '&3You set your leave message to '

Features coming soon

  • Ability for players (VIP) to set there own join/leave messages DONE
  • Fireworks on first join
  • Title message

Like my work? Help keep it free >

Similar projects

Plugin →