Перейти к содержимому
Mineforgian

ClaimChunk

Spigot/Paper plugin for claiming chunks of land

Загрузки
8K
Подписчики
17
Обновлён
5 июня 2024 г.
Лицензия
MIT

Опубликован 9 мая 2024 г.

Info

Spigot plugin for 1.20+ allowing the claiming of chunks.

The destiny of chunks is to unite not to divide
Let's make the world ours.

Usage and more information can be found on the wiki. (Needs to be updated!)

  • 1.20-1.20.6+ | The latest version works seamlessly (excluding bugs, of course).
  • 1.17 - 1.20 | The latest known working version is 0.0.23-RC8.
    • Newer versions of the plugin will require Java 17, but may still work.
  • 1.13 - 1.16.5 | The latest working version is 0.0.22.
    • Note: If you disable titles, 0.0.23 might work on version older than 1.17. If you experience issues, however, they may be more difficult to address.
  • Pre-1.13 | The latest working version is 0.0.20
    • Newer features of Spigot are used in builds 0.0.21 and later that make it incompatible with older versions.
    • 1.9 - 1.12 | Should work without any trouble.
    • 1.6 - 1.8 | Works when useTitlesInsteadOfChat is set to false under the titles section of the config.

If you have issues running an old version of the plugin on a Minecraft version within the above supported ranges, you may make an issue, and I should be able to help, but I won't be bringing newer features over. They officially have "minor bug support" status. Version 0.0.23 will be supported for slightly longer though, as this transition period may get funky.

For even more information, the SpigotMC page can be found here.

Ченджлог

0.0.25-FIX3Бета1.20.4, 1.20.5, 1.20.6 · 5 июня 2024 г.

Fixes:

  • My stupid update checker
  • Allow header customization for chunk list command in messages.json
0.0.25-FIX2Бета1.20.4, 1.20.5, 1.20.6 · 3 июня 2024 г.

Re-adds the claimchunk_am_trusted placeholder. The player is shown to be trusted if they have been granted any permissions for the chunk they're currently standing in. Players are shown as not trusted when the chunks are not claimed to mimic prior behavior.

0.0.25-FIX1Бета1.20.4, 1.20.5, 1.20.6 · 25 мая 2024 г.

Fixes crash on startup from the /plugins/ClaimChunk/data folder not existing on first launch :)

0.0.25Бета1.20.4, 1.20.5, 1.20.6 · 24 мая 2024 г.

This update fixes, once and for all, the data loss issues we've been seeing since I first created this plugin!

Migration:

  • Should not require any extra work, keep your config the same for at least the first run.
  • 0.0.26 will remove the database section of the config, but leave it be for your first launch to make sure old data loads.
  • Prior data from JSON and from MySQL will be converted automatically to the SQLite data file, and JSON backups will be made for you in the /plugins/ClaimChunk/data directory.
0.0.24Бета1.20.4, 1.20.5, 1.20.6 · 9 мая 2024 г.

Major thanks to AlexFF000 for contributing this entire release!

This update allows individual permissions to be granted on a per-chunk basis. These changes required a major overhaul of the internal workings of the plugin. The commands have changed, and there have been some changes to the format used to store the data.

Players will not need to make any changes to their claims as a result of this update; the data conversion process will convert any existing accesses in such a way that they will continue to function as they did in 0.0.23.

Note: The messages.json and world.txt files may need to be recreated due to new additions to them in this update. For English language, this can be done by deleting them and running the server. Remember to transfer any custom config to the new world.txt files after they are recreated.

Changes:

  • Access is now granted on a per-chunk basis, a chunk owner can grant another player access to only specific chunks rather than all of their chunks.
    • When the data is converted from the 0.0.23 format, a player that has previously been given access by a chunk owner will continue to have access to all the owner's chunks.
  • Players are now granted specific permissions on the chunks that they have access to (so for instance, a player could be granted permission to place blocks in a chunk, but not break them).
    • These permissions are:
      • break: Allow the player to break blocks
      • place: Allow the player to place blocks
      • doors: Allow the player to open / close doors and trapdoors
      • redstone: Allow the player to press buttons, levers, pressure plates etc...
      • interactVehicles: Allow the player to interact with mine carts and boats
      • interactEntities: Allow the player to interact with other entities (also allow the player to throw ender pearls even if preventPearlFromClaims is true in the world profile)
      • interactBlocks: Allow the player to interact with blocks
      • useContainers: Allow the player to open:
        • Chests
        • Trapped chests
        • Barrels
        • Furnaces
        • Dispensers and droppers
        • Hoppers
        • Brewing stands
  • Commands:
    • The changes have involved significant changes to the /chunk access command; it has now been split into three commands:
      • /chunk access <player> [break:true/false] [place:true/false] [doors:true/false] [redstone:true/false] [interactVehicles:true/false] [interactEntities:true/false] [interactBlocks:true/false] [useContainers:true/false] [allChunks:true/false]
        • Give a player permissions on a chunk (or modify their existing permissions)
        • All arguments except player are optional, and can be provided in any order
        • If allChunks:true is provided, the changes will be made to all the executing player's chunks. If false (the default) the changes will apply only to the chunk the player is currently standing in (if it belongs to them)
        • Any permissions not specified will retain their existing values (e.g. if the command is run without the doors option, the player's existing doors permission will remain unchanged) or will default to true if the player does not have access to the chunk already.
        • usage example: /chunk access examplePlayer break:true place:false allChunks:true
      • /chunk checkaccess [<player>]
        • List the permissions the given player has on the chunk where the executor is standing
        • If no player is provided, lists the permissions of all players with access to the chunk
      • /chunk revokeaccess <player> [ALL CHUNKS? true/false]
        • Revoke the given player's access to the chunk
        • If all chunks is true, the player's access will be revoked from all the executor's chunks. Otherwise, only the one they are standing in (if they are the owner)
        • Usage example: /chunk revokeaccess examplePlayer false
  • Removed "am_trusted" placeholder
  • Added new "CONTAINER" block class
  • Added trapdoors to "DOOR" block class
  • Added boats to "VEHICLES" entity class
  • Changed default world profile permissions for players in claimed chunks who have not been granted access:
    • Interacting with vehicles and monsters is now disallowed
    • Damaging monsters is now disallowed
    • Interacting with redstone is now disallowed

Комментарии

Загружаем…