Upload files to "src/main/resources"
This commit is contained in:
16
src/main/resources/config.yml
Normal file
16
src/main/resources/config.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Uses MiniMessage format and any PlaceholderAPI placeholders.
|
||||||
|
# You can also add <prefix> and <suffix> at either end of the playername.
|
||||||
|
joinMessage: "<yellow>%player_name% <yellow>joined the game"
|
||||||
|
leaveMessage: "<yellow>%player_name% <yellow>left the game"
|
||||||
|
|
||||||
|
# You can set these permissions to whatever you want.
|
||||||
|
# Just make sure they match the permissions in your permissions plugin.
|
||||||
|
permissions:
|
||||||
|
silentjoin: "essentials.silentjoin"
|
||||||
|
silentquit: "essentials.silentquit"
|
||||||
|
vanish: "essentials.vanish" # This should be the permission to go into vanish-mode (handled by your vanish plugin e.g. EssentialsX).
|
||||||
|
|
||||||
|
# Set this to whatever command handles vanish on your server.
|
||||||
|
commands:
|
||||||
|
vanish-on: "essentials:vanish on"
|
||||||
|
vanish-off: "essentials:vanish off"
|
||||||
23
src/main/resources/plugin.yml
Normal file
23
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: CustomJoinLeave
|
||||||
|
version: '${version}'
|
||||||
|
main: me.zepsizola.customjoinleave.CustomJoinLeave
|
||||||
|
api-version: '1.20'
|
||||||
|
|
||||||
|
folia-supported: true
|
||||||
|
|
||||||
|
softdepend: [PlaceholderAPI, LuckPerms]
|
||||||
|
loadbefore: [PlaceholderAPI, LuckPerms]
|
||||||
|
|
||||||
|
commands:
|
||||||
|
vanishjoin:
|
||||||
|
description: "Sends a fake join message to all players."
|
||||||
|
usage: "/vanishjoin [player]"
|
||||||
|
aliases: [vj, vjoin]
|
||||||
|
permission: essentials.vanish
|
||||||
|
permission-message: "You do not have permission to use this command"
|
||||||
|
vanishleave:
|
||||||
|
description: "Sends a fake leave message to all players."
|
||||||
|
usage: "/vanishleave [player]"
|
||||||
|
aliases: [vl, vleave]
|
||||||
|
permission: essentials.vanish
|
||||||
|
permission-message: "You do not have permission to use this command"
|
||||||
Reference in New Issue
Block a user