LandClaim -- a more simple robust WorldProtection type plugin.

The official Rising World Soundtrack is available!
You can also get the Soundtrack on Steam
  • LandClaim


    Plugin Description

    Overview:

    The LandClaim plugin, developed for Rising World servers, enhances land management and player progression by allowing players to claim and protect areas while earning privileges through a playtime-based points system. Designed for both players and administrators, it provides intuitive UI menus for managing claims and settings, ensuring a balanced and engaging gameplay experience.


    Key Features:

    Area Claiming and Management:

    Players can claim chunks of land using a dedicated UI button ("Claim Area") in the player menu.


    Each player starts with a default limit of 2 claimable areas, which can be increased by purchasing additional allocations.


    Claimed areas are visually marked with 3D area indicators, showing ownership details.


    Players can unclaim areas using the "Remove Area" button, freeing up their allocation limit.


    Points and Playtime System:

    Players earn points based on their total playtime, with the rate adjustable by admins (default: 1 point per hour).


    Points and playtime hours are tracked in a database and updated upon disconnection or menu interaction.


    To purchase additional area allocations, players spend points, with a corresponding deduction of playtime hours (e.g., buying a 1-point allocation deducts 1 hour if the rate is 1 point per hour).


    The cost per allocation is configurable by admins (default: 2 points).


    Interactive Player UI:

    A toggleable menu (accessed with Shift + L) provides easy access to all player features, Shift + L will also close the menu if for some reason you lose the mouse.

    "Claim Area": Initiates the claiming process for the current chunk.


    "Remove Area": Unclaims the current chunk.


    "Show My Areas": Toggles visibility of the player’s claimed areas (default: Off).


    "Show All Areas": Toggles visibility of all claimed areas on the server (default: Off).


    "Buy 1 Area": Allows players to purchase an additional area allocation, displaying the current cost and their points (e.g., "Buy 1 Area (2 Cost, You: 8)").


    "Settings": For adding Guests and permissions


    "Exit": Closes the menu.


    The menu is designed for intuitive navigation, with "Buy 1 Area" positioned above "Settings" and "Exit" at the bottom.


    Admin Settings UI:

    Admins have access to a dedicated Admin Settings menu (automatically shown on connect for admins) to manage server settings:

    Points per Hour: Adjust the rate at which players earn points based on playtime. Changes automatically recalculate all players’ points to ensure fairness.


    Area Cost: Modify the cost of purchasing additional area allocations.


    Player Area Allocation: Adjust a specific player’s maximum area allocation while standing in their claimed area.


    Admins can toggle area visibility using the Admin Settings menu or server-side commands like /showareas [true/false].


    Database Integration:

    Utilizes an SQLite database to store player data (points, playtime hours, claimed areas) and admin settings.


    Supports migration from the WorldProtection plugin, preserving existing area claims and guest. (Backup your WorldProtection and remove it after the migration has completed)

    Ensures data integrity with transaction queuing for database operations.


    How It Works:

    Players connect, and their playtime is tracked. Upon disconnection or menu interaction, their session hours are added to their total, and points are calculated accordingly.


    To claim more areas beyond the initial limit, players use the "Buy 1 Area" button, deducting points and hours based on admin-set rates.


    Admins manage settings through the Admin Settings UI, adjusting points per hour or area costs, with automatic updates to all players’ points to maintain fairness.


    The plugin provides visual feedback (e.g., area labels, UI updates) and logs all significant actions for debugging.


    Benefits:

    Encourages long-term engagement by rewarding playtime with claimable land.


    Offers flexibility for server admins to balance gameplay through an intuitive UI menu.


    Enhances server security by allowing players to protect their builds and resources.


    Provides user-friendly interfaces for both players and admins.


    Installation:

    Place the Zip file in the Plugins folder and unzip of your Rising World Dedicated Server.


    Ensure the server has write permissions to create the database file in the plugin’s directory.


    Restart the server to initialize the plugin and database.


    Version: 1.1 (as of March 12, 2025)


    Future Enhancements:

    Adjust guest permissions for shared areas. Note: RW has construction and Object protection built in, For Guests to be able to remove each others construction and Objects etc the setting in the corresponding players Permissions file must be set true - such as destroyconstructions=true and destroyobjects=true



    This plugin transforms land management into a dynamic, rewarding aspect of Rising World, suitable for both casual and hardcore servers. For support or feature requests, please free to post down below




    rising-world.net/attachment/41324/

    Files

    • LandClaim.7z

      (42.52 kB, downloaded 5 times, last: )

    Yahgiggle Steam Signature, real name Deon Hamilton :thumbsup: Server @ ip 139.99.136.76:4255 Name (The Federation of territory) Unity :thumbsup:

    If at first your code does not work call it version 0.1 with the odd bug :thinking:

    My Own Website




    31245-logo-png
  • the entering unclaimed area is a little distracting while moving and having the area marked as unclaimed on the bottom left makes it slightly redundent unless your claiming areas, can we have a option to make the yell optional.


    thanks

    Devyn

  • the entering unclaimed area is a little distracting while moving and having the area marked as unclaimed on the bottom left makes it slightly redundent unless your claiming areas, can we have a option to make the yell optional.


    thanks

    Devyn

    Yes I agree, this and the text messages will be gone and put inside there own UI on my next update, but waiting for feedback ATM so thanks for the feedback 👍 other than the messages how's it working for you ?

    Yahgiggle Steam Signature, real name Deon Hamilton :thumbsup: Server @ ip 139.99.136.76:4255 Name (The Federation of territory) Unity :thumbsup:

    If at first your code does not work call it version 0.1 with the odd bug :thinking:

    My Own Website




    31245-logo-png
  • Yes I agree, this and the text messages will be gone and put inside there own UI on my next update, but waiting for feedback ATM so thanks for the feedback 👍 other than the messages how's it working for you ?

    Pretty good so far, though i get a issue when importing from the old system, after importing i get a error about sql and time not being in the database and as soon as i delete the old DB it all goes away, i messed up and accidently deleted my backup of the old sql so couldn't do any more testing so had to make a new db completly in the end

  • Pretty good so far, though i get a issue when importing from the old system, after importing i get a error about sql and time not being in the database and as soon as i delete the old DB it all goes away, i messed up and accidently deleted my backup of the old sql so couldn't do any more testing so had to make a new db completly in the end

    Yeah the error is more of a warning not really anything to worry about, even if you deleted the world protection database it should have been migrated to the new database, no need to delete the new landclaim database but removing world protection after the migration is recommended and a restart.

    Yahgiggle Steam Signature, real name Deon Hamilton :thumbsup: Server @ ip 139.99.136.76:4255 Name (The Federation of territory) Unity :thumbsup:

    If at first your code does not work call it version 0.1 with the odd bug :thinking:

    My Own Website




    31245-logo-png
  • Bump


    Added rename And Ui tweaks, some bug fix's and some more changes to code for under the hood stuff


    Version v1.1

    Yahgiggle Steam Signature, real name Deon Hamilton :thumbsup: Server @ ip 139.99.136.76:4255 Name (The Federation of territory) Unity :thumbsup:

    If at first your code does not work call it version 0.1 with the odd bug :thinking:

    My Own Website




    31245-logo-png

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!