[WIP]: Prism. Rollback/Grief Prevention You've Been Waiting For

Discussion in 'WIP and Development Status' started by darkhelmet, Jan 8, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    ali123awada

    its not working for me i get a weird thin in my consol like this

    this is my console

    PLEASE HELP

    Retrieving your current bukkit version...
    Your current bukkit version is 1.4.7-R1 (#2628)
    [GUI]Starting bukkit server - min. RAM:128 max. RAM:1024
    210 recipes
    27 achievements
    9:47:25 AM [INFO] Starting minecraft server version 1.4.7
    9:47:25 AM [INFO] Loading properties
    9:47:25 AM [INFO] Default game type: SURVIVAL
    9:47:25 AM [INFO] Generating keypair
    9:47:26 AM [INFO] Starting Minecraft server on 10.0.0.26:25565
    9:47:26 AM [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-5-g6c77179-b2628jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.1-SNAPSHOT)
    9:47:26 AM [INFO] [PermissionsEx] sql backend registered!
    9:47:26 AM [INFO] [PermissionsEx] file backend registered!
    9:47:26 AM [INFO] [PermissionsEx] PermissionEx plugin initialized.
    9:47:26 AM [INFO] [BeTheMob] Loading BeTheMob v1.07
    9:47:26 AM [INFO] [Orebfuscator] Loading Orebfuscator v1.8.8
    9:47:26 AM [INFO] [Bending] Loading Bending v1.0.7
    9:47:26 AM [INFO] [WorldEdit] Loading WorldEdit v5.5
    9:47:26 AM [INFO] [ItemDisplay] Loading ItemDisplay v1.3
    9:47:26 AM [INFO] [ColoredSigns] Loading ColoredSigns v3.1
    9:47:26 AM [INFO] [PlayerHeads] Loading PlayerHeads v2.8.0075
    9:47:26 AM [INFO] [PermissionsEx] Loading PermissionsEx v1.19.5
    9:47:26 AM [INFO] [PermissionsEx] Initializing file backend
    9:47:26 AM [INFO] Permissions file successfully reloaded
    9:47:26 AM [INFO] [Modifyworld] Loading Modifyworld v1.19.4
    9:47:26 AM [INFO] [LWC] Loading LWC v4.3.1 (b767-git-MANUAL) (November 15, 2012)
    9:47:26 AM [INFO] [Prism] Loading Prism v1.3.1
    9:47:26 AM [INFO] [WorldGuard] Loading WorldGuard v5.7
    9:47:26 AM [INFO] [PlayerFreezer] Loading PlayerFreezer v0.1
    9:47:26 AM [INFO] [dynmap] Loading dynmap v1.4-563
    9:47:26 AM [INFO] [Essentials] Loading Essentials v2.9.6
    9:47:26 AM [INFO] [ChatManager] Loading ChatManager v1.19.1
    9:47:26 AM [INFO] [EssentialsProtect] Loading EssentialsProtect v2.9.6
    9:47:26 AM [INFO] MLog clients using java 1.4+ standard logging.
    9:47:26 AM [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.9.6
    9:47:26 AM [INFO] [EssentialsChat] Loading EssentialsChat v2.9.6
    9:47:26 AM [INFO] [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.9.6
    9:47:26 AM [INFO] [Factions] Loading Factions v1.6.9.4
    9:47:26 AM [INFO] [Orebfuscator] Enabling Orebfuscator v1.8.8
    9:47:26 AM [INFO] [LWC] Enabling LWC v4.3.1 (b767-git-MANUAL) (November 15, 2012)
    9:47:26 AM [INFO] ----- Bukkit Auto Updater -----
    9:47:26 AM [INFO] It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    9:47:26 AM [INFO] If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    9:47:26 AM [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    9:47:26 AM [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    9:47:26 AM [INFO] ----- ------------------- -----
    9:47:26 AM [INFO] [LWC] Loaded 209 locale strings (0 overrides)
    9:47:26 AM [INFO] [LWC] Permissions API: �4PEXPermissions
    9:47:26 AM [INFO] [LWC] Currency API: �4EssentialsCurrency
    9:47:26 AM [INFO] [LWC] Connecting to SQLite
    9:47:26 AM [INFO] [LWC] Performing any necessary database updates
    9:47:26 AM [INFO] [LWC] Using database: Native
    9:47:26 AM [INFO] [LWC] Precached 14 protections
    9:47:27 AM [INFO] Preparing level "world"
    9:47:27 AM [INFO] Preparing start region for level 0 (Seed: 5303661693812178362)
    9:47:27 AM [INFO] Preparing start region for level 1 (Seed: 5303661693812178362)
    9:47:27 AM [INFO] Preparing start region for level 2 (Seed: 5303661693812178362)
    9:47:28 AM [INFO] Preparing spawn area: 89%
    9:47:28 AM [INFO] [BeTheMob] Enabling BeTheMob v1.07
    9:47:28 AM [INFO] [Bending] Enabling Bending v1.0.7
    9:47:28 AM [INFO] Bending v1.0.7 has been loaded.
    9:47:28 AM [INFO] Bending is sending data for Plugin Metrics.
    9:47:28 AM [INFO] [WorldEdit] Enabling WorldEdit v5.5
    9:47:28 AM [INFO] WEPIF: Using the Bukkit Permissions API.
    9:47:28 AM [INFO] [ItemDisplay] Enabling ItemDisplay v1.3
    9:47:28 AM [INFO] [ColoredSigns] Enabling ColoredSigns v3.1
    9:47:28 AM [WARNING] [ColoredSigns] Erorr While loading Commands. Have you installed the Right Craftbukkit Build?
    9:47:28 AM [WARNING] [ColoredSigns] Erorr While loading Commands. Please create a Ticket,when your Craftbukkit version is valid.
    9:47:28 AM [INFO] [ColoredSigns] Listeners Enabled.
    9:47:28 AM [INFO] [ColoredSigns] version 3.1 by Janomine Succesfully Enabled.
    9:47:28 AM [INFO] [PlayerHeads] Enabling PlayerHeads v2.8.0075
    9:47:29 AM [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.5
    9:47:29 AM [INFO] [PermissionsEx] Superperms support enabled.
    9:47:29 AM [INFO] [PermissionsEx] v1.19.5 enabled
    9:47:29 AM [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
    9:47:29 AM [INFO] [Modifyworld] Enabling Modifyworld v1.19.4
    9:47:29 AM [INFO] [Modifyworld] Modifyworld enabled!
    9:47:29 AM [INFO] [Prism] Enabling Prism v1.3.1
    9:47:29 AM [INFO] [Prism]: Initializing Prism 1.3.1. By Viveleroi.
    9:47:30 AM [INFO] Database connection failed. Cannot create PoolableConnectionFactory (Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    9:47:30 AM [SEVERE] org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:859)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:544)
    9:47:30 AM [SEVERE]at me.botsko.prism.Prism.dbc(Prism.java:271)
    9:47:30 AM [SEVERE]at me.botsko.prism.Prism.onEnable(Prism.java:124)
    9:47:30 AM [SEVERE]at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    9:47:30 AM [SEVERE]at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    9:47:30 AM [SEVERE]at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    9:47:30 AM [SEVERE]at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
    9:47:30 AM [SEVERE]at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
    9:47:30 AM [SEVERE]at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    9:47:30 AM [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    9:47:30 AM [SEVERE]at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    9:47:30 AM [SEVERE]at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at java.lang.reflect.Constructor.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    9:47:30 AM [SEVERE]at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    9:47:30 AM [SEVERE]at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at java.lang.reflect.Constructor.newInstance(Unknown Source)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:881)
    9:47:30 AM [SEVERE]at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
    9:47:30 AM [SEVERE]... 14 more
    9:47:30 AM [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect
    9:47:30 AM [SEVERE]at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    9:47:30 AM [SEVERE]at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.PlainSocketImpl.connect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.SocksSocketImpl.connect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.Socket.connect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.Socket.connect(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.Socket.<init>(Unknown Source)
    9:47:30 AM [SEVERE]at java.net.Socket.<init>(Unknown Source)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
    9:47:30 AM [SEVERE]at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
    9:47:30 AM [SEVERE]... 30 more
    9:47:30 AM [INFO] [Prism]: --------------------- ## Important ## ---------------------
    9:47:30 AM [INFO] [Prism]: Prism will disable itself because it couldn't connect to a database.
    9:47:30 AM [INFO] [Prism]: If you're using MySQL, check your config. Be sure MySQL is running.
    9:47:30 AM [INFO] [Prism]: For help - try http://discover-prism.com/wiki/view/troubleshooting/
    9:47:30 AM [INFO] [Prism]: --------------------- ## ========= ## ---------------------
    9:47:30 AM [INFO] [Prism]: Closing plugin.
    9:47:30 AM [SEVERE] Error occurred while enabling Prism v1.3.1 (Is it up to date?)
    java.lang.NullPointerException
    at me.botsko.prism.Prism.onEnable(Prism.java:145)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
    at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
    at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
    at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
    at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
    at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
    at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    9:47:30 AM [INFO] [WorldGuard] Enabling WorldGuard v5.7
    9:47:30 AM [INFO] [WorldGuard] (world) TNT ignition is PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world) Lighters are PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world) Lava fire is blocked.
    9:47:30 AM [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED.
    9:47:30 AM [INFO] [WorldGuard] Loaded configuration for world 'world'
    9:47:30 AM [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world_nether) Lava fire is blocked.
    9:47:30 AM [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
    9:47:30 AM [INFO] [WorldGuard] Loaded configuration for world 'world_nether'
    9:47:30 AM [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED.
    9:47:30 AM [INFO] [WorldGuard] (world_the_end) Lava fire is blocked.
    9:47:30 AM [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
    9:47:30 AM [INFO] [WorldGuard] Loaded configuration for world 'world_the_end'
    9:47:30 AM [INFO] [WorldGuard] 3 regions loaded for 'world'
    9:47:30 AM [INFO] [WorldGuard] 0 regions loaded for 'world_nether'
    9:47:30 AM [INFO] [WorldGuard] 0 regions loaded for 'world_the_end'
    9:47:30 AM [INFO] [PlayerFreezer] Enabling PlayerFreezer v0.1
    9:47:30 AM [INFO] PlayerFreezer has been enabled!
    9:47:30 AM [INFO] [dynmap] Enabling dynmap v1.4-563
    9:47:30 AM [INFO] [dynmap] Using PermissionsEx 1.19.5 for access control
    9:47:31 AM [INFO] [dynmap] Loaded 21 shaders.
    9:47:31 AM [INFO] [dynmap] Loaded 82 perspectives.
    9:47:31 AM [INFO] [dynmap] Loaded 12 lightings.
    9:47:31 AM [INFO] [dynmap] Web server started on address 0.0.0.0:8123
    9:47:31 AM [INFO] [dynmap] version 1.4-563 is enabled - core version 1.4-1545
    9:47:31 AM [INFO] [dynmap] Loaded 3 maps of world 'world'.
    9:47:31 AM [INFO] [dynmap] Loaded 2 maps of world 'world_nether'.
    9:47:31 AM [INFO] [dynmap] Loaded 2 maps of world 'world_the_end'.
    9:47:31 AM [INFO] [dynmap] Enabled
    9:47:31 AM [INFO] [Essentials] Enabling Essentials v2.9.6
    9:47:32 AM [INFO] Essentials: Using PermissionsEx based permissions.
    9:47:32 AM [INFO] [ChatManager] Enabling ChatManager v1.19.1
    9:47:32 AM [INFO] [ChatManager] ChatManager disabled. Check config.yml!
    9:47:32 AM [INFO] [ChatManager] Disabling ChatManager v1.19.1
    9:47:32 AM [INFO] [ChatManager] ChatManager disabled!
    9:47:32 AM [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.9.6
    9:47:32 AM [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    9:47:32 AM [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.9.6
    9:47:32 AM [INFO] [EssentialsChat] Enabling EssentialsChat v2.9.6
    9:47:32 AM [INFO] [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.9.6
    9:47:32 AM [INFO] [Factions] Enabling Factions v1.6.9.4
    9:47:32 AM [INFO] [Factions v1.6.9.4] === ENABLE START ===
    9:47:32 AM [INFO] [Factions v1.6.9.4] Loading board from disk
    9:47:32 AM [INFO] [Factions v1.6.9.4] Found and will integrate chat with EssentialsChat v2.9.6
    9:47:32 AM [INFO] [Factions v1.6.9.4] Economy integration is disabled, and the plugin "Vault" is not installed.
    9:47:32 AM [INFO] [Factions v1.6.9.4] Successfully hooked into LWC! Integration is currently disabled, though ("lwcIntegration").
    9:47:32 AM [INFO] [Factions v1.6.9.4] === ENABLE DONE (Took 91ms) ===
    9:47:32 AM [INFO] Server permissions file permissions.yml is empty, ignoring it
    9:47:32 AM [INFO] Done (5.585s)! For help, type "help" or "?"
    9:47:32 AM [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/Bending
    9:47:32 AM [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/LWC
    9:47:32 AM [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/Orebfuscator
    9:47:32 AM [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/Prism

    sorry for long console

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 8, 2016
  2. Offline

    mkremins

    Here's the important part of that error message:
    Code:
    --------------------- ## Important ## ---------------------
    Prism will disable itself because it couldn't connect to a database.
    If you're using MySQL, check your config. Be sure MySQL is running.
    For help - try http://discover-prism.com/wiki/view/troubleshooting/
    --------------------- ## ========= ## ---------------------
    
    It looks like you set something up incorrectly with regards to storage. You'll want to review your database settings in plugins/Prism/config.yml and make sure that everything is configured correctly. (Make sure you read over the installation guidelines to verify that you're doing it right.)
     
  3. Offline

    ali123awada

    i did but i dont get it its a bit weird for me it worked before i got and update on my server thing bukkitguiproject is the name it worked then failed after update

    im just really stuck

    so yeah is there anything esle i could do or somehting

    never mind i got it to work with sqlite thnaks for the help though:)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 8, 2016
  4. Offline

    Bobcat00

    A lot of my database space is taken up by 'block-shift' events. What are the implications of not logging these, in terms of being able to do restores?

    Also, can the delete command be used to delete the hundreds of thousands of block-shift entries from the database? Can I do it with phpMyAdmin?
     
  5. Offline

    darkhelmet

    block-shift is simply pistons moving things. Sometimes players built devices that are firing dozens of these every second and they run up your db logging like this. There's not much harm in turning this tracking off.

    You can delete the data however you like. Prism has a built-in purge system, or you can delete them via pma/mysql console.
     
  6. Offline

    Bobcat00

    Possible bug: Even though I have vehicle-exit: true , I'm not seeing any vehicle-exit events. vehicle-break, vehicle-enter, and vehicle-place all work.
     
  7. Offline

    Bobcat00

    Turns out this was a Bukkit error, corrected in build #2813. It works now. Yea!
     
Thread Status:
Not open for further replies.

Share This Page