diff --git a/.dockerignore b/.dockerignore index 6cecf6a..5a359f3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -16,7 +16,11 @@ */whitelist.json */usercache.json +src/plugins/spark/tmp + src/plugins/luckperms/libs .crowdin src/plugins/PlasmoVoice/voice_mutes.json + +src/plugins/SuperVanish/data.yml diff --git a/.gitignore b/.gitignore index b90ff47..0d5e9a0 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,11 @@ */whitelist.json */usercache.json +src/plugins/spark/tmp + src/plugins/LuckPerms/libs .crowdin src/plugins/PlasmoVoice/voice_mutes.json + +src/plugins/SuperVanish/data.yml diff --git a/Dockerfile b/Dockerfile index 9b68fe1..a1effeb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,10 @@ RUN mkdir ${DATA_PATH}/world_the_end && \ RUN touch ${DATA_PATH}/pv-voice_mutes.json && \ ln -sf ${DATA_PATH}/pv-voice_mutes.json \ ${CONFIG_PATH}/plugins/PlasmoVoice/voice_mutes.json +RUN mkdir -p ${DATA_PATH}/SuperVanish && \ + touch ${DATA_PATH}/SuperVanish/data.yml && \ + ln -sf ${DATA_PATH}/SuperVanish/data.yml \ + ${CONFIG_PATH}/plugins/SuperVanish/data.yml VOLUME ${DATA_PATH} diff --git a/src/plugins/OpenInv 1 5 2.jar b/src/plugins/OpenInv 1 5 2.jar new file mode 100644 index 0000000..a62120c --- /dev/null +++ b/src/plugins/OpenInv 1 5 2.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb7cadf0fc07096f6346ca6c029786af0592c79f778574cfff250a53e1892b52 +size 262379 diff --git a/src/plugins/OpenInv/config.yml b/src/plugins/OpenInv/config.yml new file mode 100644 index 0000000..a69d6d6 --- /dev/null +++ b/src/plugins/OpenInv/config.yml @@ -0,0 +1,11 @@ +config-version: 8 +settings: + equal-access: allow + command: + open: + no-args-opens-self: false + searchcontainer: + max-radius: 10 + disable-offline-access: false + disable-saving: false + console-locale: 'en' diff --git a/src/plugins/OpenInv/locale/en.yml b/src/plugins/OpenInv/locale/en.yml new file mode 100644 index 0000000..0e2b4f5 --- /dev/null +++ b/src/plugins/OpenInv/locale/en.yml @@ -0,0 +1,34 @@ +messages: + error: + consoleUnsupported: You cannot use this command from console. + lootNotGenerated: '&cLoot not generated! Please disable &b/silentcontainer&c.' + invalidMaterial: '&cInvalid material: "%target%"' + invalidNumber: '&cInvalid number: "%target%"' + invalidPlayer: '&cPlayer not found!' + permissionOpenSelf: '&cYou''re not allowed to open your own inventory.' + permissionOpenOther: '&cYou''re not allowed to access others'' inventories.' + permissionExempt: '&c%target%''s inventory is protected.' + permissionCrossWorld: '&c%target% is not in your world.' + permissionPlayerOnline: '&cYou''re not allowed to open inventories of online players.' + permissionPlayerOffline: '&cYou''re not allowed to open inventories of offline + players.' + commandException: '&cAn error occurred. Please check console for details.' + info: + containerBlocked: You are opening a blocked container. + containerBlockedSilent: You are opening a blocked container silently. + containerSilent: You are opening a container silently. + clear: + inventory: Cleared %target%'s inventory. + enderchest: Cleared %target%'s ender chest. + settingState: '%setting%: %state%' + player: + noMatches: No players found with %target%. + matches: 'Players holding %target%: %detail%' + container: + noMatches: No containers found with %target%. + matches: 'Containers holding %target%: %detail%' + 'on': 'on' + 'off': 'off' +container: + player: '%player%''s Inventory' + enderchest: '%player%''s Ender Chest' diff --git a/src/plugins/SuperVanish-6.2.20.jar b/src/plugins/SuperVanish-6.2.20.jar new file mode 100644 index 0000000..0c9e796 --- /dev/null +++ b/src/plugins/SuperVanish-6.2.20.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc826f763242984c0fe680f10764b33d1d026d7554493dc975e27e2ab7dae66c +size 181215 diff --git a/src/plugins/SuperVanish/config.yml b/src/plugins/SuperVanish/config.yml new file mode 100644 index 0000000..371e3d4 --- /dev/null +++ b/src/plugins/SuperVanish/config.yml @@ -0,0 +1,193 @@ +# SuperVanish v6.2.20 - Configuration + +############# Invisibility Features ############## +InvisibilityFeatures: + # Should invisible players get night vision? + NightVisionEffect: true + # Should SV disable damage for invisible players? + DisableDamage: true + # Should SV disable hunger for invisible players? + DisableHunger: true + # Should SV prevent mobs from targeting invisible players? + DisableMobTarget: true + # Should invisible players open chests and shulker boxes without the animation and sound? + # This makes them go into spectator mode temporarily. It's better to only give access to this feature + # to staff members since a server crash can cause players to stay in spectator mode. + # Permission: sv.silentchest + OpenChestsSilently: true + # Should invisible players not be able to trigger pressure plates and tripwire? + # If this feature is enabled invisible players can't trigger pressure plates and tripwire. + DisablePressurePlates: true + # Should invisible players not be able to push other players or be able to be pushed? + # WARNING: Uses the scoreboard and may conflict with other plugins! + DisablePush: false + # Should vanished players pick up items by default? This can be changed individually with /sv tipu + DefaultPickUpItemsOption: false + # Should SV modify tablist packets to prevent the server from leaking who is online? + # This currently only works on versions below 1.19 + ModifyTablistPackets: true + # Should SV modify tab complete packets to prevent minecraft commands from leaking who is online? + ModifyTabCompletePackets: true + # Should vanished players be unable to trigger the vibration of a sculk sensor? + PreventSculkSensorActivation: true + # Should vanished players be unable to break turtle eggs? + PreventTurtleEggBreaking: true + # Should vanished players not activate the tipping effect on dripleaves? + DisableDripLeaf: true + # Should vanished players be unable to trigger raids? + PreventRaidTriggering: true + # Should vanished players be unable to make mobs spawn? (paper only) + PreventMobSpawning: true + + Fly: + # Should invisible players be able to fly even if they aren't in creative/spectator mode? + Enable: true + # Should invisible players WITHOUT the permission 'sv.keepfly' lose the ability to fly on reappear? + DisableOnReappear: true + +############# Vanish State Features ############## +VanishStateFeatures: + # Should players with the permission 'sv.joinvanished' join vanished all the time? + # Doesn't work if you use GroupManager for permissions + AutoVanishOnJoin: false + # Should invisible players reappear automatically when they change their world? + ReappearOnWorldChange: false + # Should invisible players reappear automatically when they leave the server? + ReappearOnQuit: false + # Should invisible players reappear automatically + # when they change their world and don't have the permission 'sv.use' anymore? + CheckPermissionOnWorldChange: false + # Should invisible players reappear automatically + # when they leave the server and don't have the permission 'sv.use' anymore? + CheckPermissionOnQuit: false + # Should invisible players reappear automatically + # when they join the server and don't have the permission 'sv.use' anymore? + # Doesn't work if you use GroupManager for permissions + CheckPermissionOnLogin: false + +############## Indication Features ############### +IndicationFeatures: + LayeredPermissions: + # Should players with the permission 'sv.see' be able to see invisible players in the tablist & in-game? + EnableSeePermission: true + # Should sv.use and sv.see be layered? => sv.use.levelX, sv.see.levelX + # Players can see a vanished player if their see level is higher or equal to the other player's use level + # Note: You have to rejoin for changes to take effect if you changed those permissions while being online + LayeredSeeAndUsePermissions: false + # What should be the highest level for both permissions? + # Lower amounts might improve performance with more players since they reduce the amount of permission checks + MaxLevel: 100 + # Should vanished players show up dark gray in the tablist and should only their head be visible? + # Only players who are allowed to see the player will see this effect; this helps other staff with + # differentiating them from players they should talk to; Requires ProtocolLib + # This currently only works on versions below 1.19 + MarkVanishedPlayersAsSpectators: true + +################ Message Options ################# +MessageOptions: + + FakeJoinQuitMessages: + # Should SV broadcast any kind of announcement (fake quit or player vanished) when a player vanishes? + # You can change the messages in the messages.yml file. + BroadcastFakeQuitOnVanish: true + # Should SV broadcast any kind of announcement (fake join or player reappeared) when a player reappears? + # You can change the messages in the messages.yml file. + BroadcastFakeJoinOnReappear: true + # Should players with the permission 'sv.see' get an admin announcement instead of a fake join/quit message? + # You can change the messages in the messages.yml file. + AnnounceVanishReappearToAdmins: true + # Should there only be admin announcements and no fake join/quit messages? + SendMessageOnlyToAdmins: false + # Should there only be fake join/quit messages and no admin announcements? + SendMessageOnlyToUsers: false + + # Should SV hide the real join/leave messages of invisible players? + HideRealJoinQuitMessages: true + # Should SV hide the advancement messages of invisible players (only send it to the player)? (paper only) + HideAdvancementMessages: true + # Should SV hide leave messages for invisible players if 'VanishStateFeatures->ReappearOnQuit' is turned on? + # Overrides 'HideRealJoinQuitMessages' + ReappearOnQuitHideLeaveMsg: true + # If the setting above is turned on, should players with the permission 'sv.see' get + # a message when an invisible player joins/quits? + AnnounceRealJoinQuitToAdmins: true + # If the setting above is turned on, should players with the permission 'sv.see' get + # a message when an invisible player dies? + AnnounceDeathToAdmins: true + # Should SV remind players who join the server vanished of being invisible (in chat)? + # You can change the message in the messages.yml file. + RemindVanishedOnJoin: true + # Should invisible players have an action bar which tells them that they're invisible? + # You can change the action bar in the messages.yml file. + DisplayActionBar: true + +############## Restrictive Options ############### +RestrictiveOptions: + # Should invisible players not be able to break blocks? + # Bypass permission: sv.breakblocks + PreventBlockBreaking: false + # Should invisible players not be able to place blocks? + # Bypass permission: sv.placeblocks + PreventBlockPlacing: false + # Should invisible players not be able to damage players or mobs? + # Bypass permission: sv.damage + PreventHittingEntities: false + +############# External Invisibility ############## +ExternalInvisibility: + + ServerList: + # Should this plugin adjust the amount of players in the serverlist? (-1 per invisible player) + AdjustAmountOfOnlinePlayers: true + # Should this plugin hide invisible players in the list of logged in players? + # You can view this list when your mouse hovers over the amount of online players. + AdjustListOfLoggedInPlayers: true + +################## Hook Options ################## +HookOptions: + # Should SV hide invisible players in /who, /list, /online, /near, etc? + # Note: Players with the permission essentials.vanish.interact can still see invisible players in these commands + # Important: You have to reload both SV and Essentials if you change this setting (reload SV first) + EnableEssentialsHook: true + # Should SV hide invisible players on your dynamic map and broadcast join/leave messages if you use Dynmap? + EnableDynmapHook: true + # Should SV send fake join/leave messages in dynmap's web-chat? + # You can configure the join/leave messages in the messages.yml file + DynmapSendJoinLeaveMessages: true + # Should SV hook into TrailGUI and disable trails while you're vanished? + EnableTrailGUIHook: true + # Should SV hook into PlaceholderAPI and add new placeholders to SV + register its own ones for other plugins? + # Own ones: isvanished, vanishedplayers, playercount + # Format: %supervanish_% + EnablePlaceholderAPIHook: true + # Should SV hook into MVdWPlaceholderAPI and add new placeholders to SV + register its own ones for other + # plugins? + # Own ones: isvanished, vanishedplayers, playercount + # Format: {supervanish_} + EnableMVdWPlaceholderAPIHook: true + # Should SV stop NPCs from greeting or talking about hidden players? + EnableCitizensHook: true + +############# Compatibility Options ############## +CompatibilityOptions: + # This section is for advanced users only! + # The event priority which SuperVanish should use for the specific event. + # Allowed values are LOWEST, LOW, NORMAL, HIGH, HIGHEST and MONITOR + # Higher priorities might override other plugins while lower ones might not + + # The priority for removing the join message + PlayerJoinEventPriority: HIGH # <- keep HIGH if you use Essentials to modify join/quit messages !! + # The priority for removing the quit message + PlayerQuitEventPriority: HIGH + +############# Miscellaneous Options ############## +MiscellaneousOptions: + + UpdateChecker: + # Should SV check for updates on spigot regularly? There is no automatic update; this just informs you + Enable: true + # Should players with the permission 'sv.notify' get notified if the current version of SV is outdated? + NotifyAdmins: true + +################# Do Not Touch ################### +ConfigVersion: 6.2.20 \ No newline at end of file diff --git a/src/plugins/SuperVanish/messages.yml b/src/plugins/SuperVanish/messages.yml new file mode 100644 index 0000000..7fb60f0 --- /dev/null +++ b/src/plugins/SuperVanish/messages.yml @@ -0,0 +1,78 @@ +# SuperVanish v6.2.20 - Messages +# +# Information: +# <..> means that .. is required; [..] means that .. is optional and can be left out; | inside [] or <> stands for 'OR' +# You can use the & character for color codes; Example: '&cThe color of this text would be red!' +# You can use #XXXXXX for HEX color codes. Example: '#663EF6This text would be purple!' +# You can use %p% to get the player's name; Example: '&4&l%p%, you aren't allowed to execute this command!' +# You can use %other% to get the name of the target or cause +# You can use %d% to get the player's display name; if you use Essentials then the display name contains the prefix too +# You can use %tab% to get the player's name in the player list (TAB) +# You can use %prefix% to get the player's prefix (Requires Vault) +# You can use %suffix% to get the player's suffix (Requires Vault) +# You can use %group% to get the player's group (Requires Vault) +# You can use %nick% to get the player's nickname (Requires Essentials) +# Some messages allow different, unique variables too +# +# NOTE: You can get WAY more placeholders by installing PlaceholderAPI or MVdWPlaceholderAPI +# +# Empty messages will not be sent +# Using \n starts a new line +# +# Important: +# You must double single quotes if you want to use them inside a message. +# You must NOT use any tab characters inside this file (indent key) otherwise YAML will spam your console with errors! +# !! If there are errors in the console after editing this file paste it into an online YAML parser to see if +# there are any YAML syntax errors !! +Messages: + NoPermission: '&4Denied access! You are not allowed to do this.' + InvalidUsage: '&cInvalid usage, you can use &6/sv help&c for a list of commands.' + VanishMessage: '&e%p% left the game' + ReappearMessage: '&e%p% joined the game' + VanishMessageWithPermission: '&a[SV] %p% vanished.' + ReappearMessageWithPermission: '&a[SV] %p% reappeared.' + OnVanish: '&aYou are now invisible!' + OnReappear: '&aYou are no longer invisible!' + OnVanishCausedByOtherPlayer: '&a%other% hid you, you are now invisible!' + OnReappearCausedByOtherPlayer: '&a%other% showed you, you are now visible!' + AlreadyVanishedError: '&cYou are already invisible!' + NotVanishedError: '&cYou are not invisible!' + SilentJoinMessageForAdmins: '&a[SV] %p% joined silently.' + SilentQuitMessageForAdmins: '&a[SV] %p% left silently.' + SilentDeathMessage: '&a[SV] %deathmsg%' + RemindingMessage: '&aYou are still invisible!' + ListMessagePrefix: '&aInvisible Players:&f %l' + ActionBarMessage: '&aYou are invisible to other players!' + HideOtherMessage: '&aPlayer &e%other%&a is now invisible!' + ShowOtherMessage: '&aPlayer &e%other%&a is now visible!' + CannotHideOtherPlayer: '&cYou''re not allowed to change %other%''s visibility!' + AlreadyInvisibleMessage: '&cPlayer &e%other%&c is already invisible!' + AlreadyVisibleMessage: '&cPlayer &e%other%&c is already visible!' + PluginReloaded: '&aSuccessfully reloaded SuperVanish (%time%ms)!' + InvalidSender: '&cYou must be a player to execute this command!' + PlayerNotOnline: '&cThat player is not online!' + PlayerNonExistent: '&cThat player doesn''t exist!' + ToggledPickingUpItemsOn: '&ePicking up items is now turned &aON&e.' + ToggledPickingUpItemsOff: '&ePicking up items is now turned &cOFF&e.' + UpdateWarning: '&cWarning! Recreating %updates% resets %changes%. Please use &e/sv recreatefiles confirm&c if you''d like to continue.' + RecreatedConfig: '&aSuccessfully recreated %updates%! Please check %changes%.' + NoConfigUpdateAvailable: '&eYour SuperVanish-files are up to date!' + RecreationRequiredMsg: '&c[SV] Your SuperVanish-files are not up to date, you can use &e/sv recreatefiles&c to recreate them + or use /sv recreatefiles dismiss to dismiss this message. + Recreating SuperVanish''s files gives you access to newer settings and features of the plugin.' + DismissedRecreationWarning: '&eYou are no longer receiving notifications about this recreation.' + UndismissedRecreationWarning: '&eYou are now receiving notifications about this recreation.' + PrintedStacktrace: '&eSuccessfully created a stacktrace, see console!' + EntityHitDenied: '&c[SV] You can''t hit players or mobs in vanish!' + BlockPlaceDenied: '&c[SV] You can''t place blocks in vanish!' + BlockBreakDenied: '&c[SV] You can''t break blocks in vanish!' + PluginOutdated: '&c[SV] Your current version of SuperVanish is outdated. New version: ''%new%''; Currently: ''%current%''' + DynmapFakeJoin: '%d% joined' + DynmapFakeQuit: '%d% quit' + HelpHeader: "&a<---------------&e SuperVanish-Help &a--------------->" + HelpFormat: "&6%usage% &7- &b%description% &c(%permission%)" + PlaceholderIsVanishedYes: "Yes" + PlaceholderIsVanishedNo: "No" + PlaceholderVanishPrefix: '&a[V] &r' + PlaceholderVanishSuffix: ' &r&a[V]' +MessagesVersion: 6.2.20 diff --git a/src/plugins/spark/tmp/about.txt b/src/plugins/spark/tmp/about.txt deleted file mode 100644 index 31c393f..0000000 --- a/src/plugins/spark/tmp/about.txt +++ /dev/null @@ -1,10 +0,0 @@ -# What is this directory? - -* In order to perform certain functions, spark sometimes needs to write temporary data to the disk. -* Previously, a temporary directory provided by the operating system was used for this purpose. -* However, this proved to be unreliable in some circumstances, so spark now stores temporary data here instead! - -spark will automatically cleanup the contents of this directory. -(but if for some reason it doesn't, if the server is stopped, you can freely delete any files ending in .tmp) - -tl;dr: spark uses this folder to store some temporary data.