I found out that a player without TC auth can slap twig floors, etc onto another players base even with TruePVE. Is there a way to prevent this?
Players can built twig items on players basesSolved
https://umod.org/plugins/build-revert
this can prevent that
Merged post
namespace Oxide.Plugins
{
[Info("BuildRevert2", "nivex", "0.1.0")]
[Description("BuildRevert2")]
class BuildRevert2 : RustPlugin
{
private object CanBuild(Planner planner, Construction construction, Construction.Target target)
{
if (construction.prefabID == 2150203378 || construction.fullName.Contains("/floor."))
{
return target.player.CanBuild() ? (object)null : true;
}
return null;
}
}
}or i suppose something even simpler with no config could prevent it too. save BuildRevert2.cs
So I shouldn't use the Build Revert plugin you linked to, but save that code as BuildRevert2.cs? Also, would this prevent players from building at Raidable Bases? Players like to build plarforms and of course use ladders at them.
it doesn't matter. try BuildRevert2 first and if it doesn't work then just use Build Revert.
nivexit doesn't matter. try BuildRevert2 first and if it doesn't work then just use Build Revert.
That worked perfectly. Thank you!
no problem
Locked automatically