ClaimTweaks - Simple plugin that adds some tweaks to GriefPrevention claims

This is a discussion topic for the Ore project, ClaimTweaks. View the full project on Ore for downloads and more information.


Want quick support? Join my discord server: https://discord.gg/YttMwEr

ClaimTweaks

ClaimTweaks is an addon to GriefPrevention that adds some simple stuff to claims, like per-claim weather, per-claim time, commands on enter/exit, etc. Those features are supposed to be used only by admins, but they will also work if you give the proper permissions to your players. You also don’t need to change anything on config files, just drop the plugin on your plugins/mods folder and it’s ready!

Features

  • Clear the weather of the player when he enters a specific claim (such as your spawn)
  • Sets the time of the player to a specific time (such as day)
  • Run commands when players enter a specific claim
  • Run commands when players leave a specific claim
  • Bypass commands by granting the claimtweaks.bypass permission

Basic Setup

  1. Install GriefPrevention and PacketGate on your server (they are both dependencies, don’t forget it!)
  2. Say you want to change the time of your spawn to always day. Go to your spawn claim and run /ctweaks setTime 6000, you’re done!

Command Usage and Permissions (use inside the target claim)

  • /ctweaks addCommand [type] [command]
    • Adds a specific command to the claim you’re in, that will run when a player enters/leaves it, depending of type.
    • type is either enter or leave. The command accepts the %player% placeholder.
  • /ctweaks listCommands
    • Lists all the commands assigned to the claim that you’re in
  • /ctweaks removeCommand [type] [id]
    • Removes an command from the type (see above) command list of the claim that you’re in. id is the ID of the command, shown in listCommands.
  • /ctweaks setClearWeather
    • Toggles the weather state of the claim (sets it to always clear if raining or vice versa)
  • /ctweaks setTime [time]
    • Sets the time of players on the claim that you’re in to time, in ticks. See the Minecraft wiki for exact values. Ex: /ctweaks setTime 6000 will set the time to half day.

If you find any issues, report them to the plugin’s issue tracker. If you want, you can donate for me trough PayPal, my paypal email is [email protected].

4 Likes

Thank You!..

1 Like

A new version has been released for ClaimTweaks, it is available for download here.


  • Allow executing commands as player
  • Count wilderness as an valid claim

I love the plugin!
But I can’t get it to work 100%

From your description “/ctweaks addCommand [type] [command]”
I should type “/ctweaks addCommand enter rules”, but it returns an error telling me “Argument was not a valid choice…”

Any help?

A new version has been released for ClaimTweaks, it is available for download here.


Add bypass permission

We’ve been using this on our server for a bunch of automated stuff when players enters and leaves certain areas.
It’s perfect, thanks!

Hey, GriefDefender came out and support for GriefPrevention stopped, will this plugin be moved or updated to GD ? Absolute beast of a plugin, I used it a ton.