[INACTIVE][SEC/MECH] SignProtect v0.6 - prevent sign breaking [440+]

Discussion in 'Inactive/Unsupported Plugins' started by ementalo, Jan 20, 2011.

  1. SignProtect will prevent signs being destroy by people other then the owners or the signAdmin.


    <font color="rgb(255, 0, 0)">SOURCE : </font>https://github.com/ementalo/SignProtect
    <font color="rgb(255, 0, 0)">I am unable to maintain this long term so if you wish to fork it please do.</font>
    <font color="rgb(255, 0, 0)">
    </font>
    Installation:

    Place into the plugins folder, on run there will be a SignProtect folder created in the plugins folder. This will contain:

    SignProtect.db - The SQLite database
    SignProtect.propertes - The properties file.


    Properties:

    Some options are only needed if using mysql

    SQLuser=root - <font color="rgb(255, 0, 0)">Your username for mysql</font>
    SQLpass=root - <font color="rgb(255, 0, 0)">Your password for mysql</font>
    SQLdb=jdbc:mysql://localhost:3306/minecraft - <font color="rgb(255, 0, 0)">Your mysql db location</font>
    protectBlockUnderneath=true - <font color="rgb(255, 0, 0)">choose to protect the block under the sign</font>
    dataType=sqlite - <font color="rgb(255, 0, 0)">database type, options sqlite / mysql</font>
    signAdmin=ementalo,player,thequeen - <font color="rgb(255, 0, 0)">who can destroy any sign / block under</font>

    Usage:

    Place a sign and it will get added to the database. If someone tried to destroy the sign (or block under) it will re-appear. (note that the re-stored sign will not have text on to the destroyer only, a disconnect / reconnect will make it appear)

    Destroyed blocks / signs will have their records removed from the database so the protection will not remain on those areas.

    As a signAdmin right-clicking a protected sign / block will tell you who owns it.

    Download:
    SignProtect v0.6


    Drivers:

    You also need the drivers for the database, these are the same that iConomy / MyHomes / Warps use so you may have them already. Place in the root of the server directory where the crafbukkit/
    .jar file is.

    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    Changelog:

    v0.6 : - Crafbukkit update
     
    Last edited by a moderator: Dec 15, 2016
  2. Offline

    ledhead900

    Possible issue with this Signs placed on Signs do not follow the Sign under Block rule and get destroyed if player smashes bottom sign, Also u might need to update this as its not 100% reliable right now in latest CB it seems there is some delay in if is going to protect a sign properly if u remove the block below.
     
  3. Offline

    n4Ghost

    You make an update??

    Code:
    21:29:40 [SEVERE] Could not load plugins/SignProtect.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.ementalo.signprotect.SignProtect.()
            at java.lang.Class.getConstructor0(Class.java:2723)
            at java.lang.Class.getConstructor(Class.java:1674)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
    
     
  4. Hi guys, I will update this tonight
     
  5. Hi, I won't have time to maintain this for a while. I will put up the source on github tomorrow and if someone wishes to take it on please do.
     

Share This Page