Upload files to "src/main/resources"

This commit is contained in:
2025-11-04 02:19:16 +00:00
parent 9df33ea893
commit ddb834537f
2 changed files with 39 additions and 0 deletions

View 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"

View 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"