[GEN] NotePad v1.1 - Read and Write Notes, in-game.[935]

Discussion in 'Inactive/Unsupported Plugins' started by 7rmb7, Jun 24, 2011.

  1. Offline

    7rmb7

    Notepad - Read and Write Notes, in-game:
    Version: v0.1

    Have you ever played on a server where you wanted to remember the co-ordinates of a base? Or the name of the biggest clan? Or the number of player slots on the server?

    Wish no more. NotePad is here.

    Features:
    * Store notes with the '/notepad write [message]' command.
    * Read notes with the '/notepad read [ID]' command.
    * Remove notes with the '/notepad remove [ID] command.
    * '/notepad help' for help.

    <Edit by Moderator: Redacted mediafire url>






    [​IMG] [​IMG] [​IMG]



    Todo:
    * Add a delete function<font color="rgb(0, 255, 0)"> Done!</font>
    * Make compatible with Permissions
    * Allow users to "tag" notes

    Changelog:

    v1.1: Added a delete function.
    v1.0: Notepad is registered as a plugin. Fixed exceptions with number of arguments.
    v0.1: Public release of NotePad
     

    Attached Files:

    Last edited by a moderator: Nov 27, 2016
    dark_hunter and ScarWalrus999 like this.
  2. Offline

    ScarWalrus999

    Nice work. Haven't found any bugs yet.
     
  3. Offline

    paully104

    Everytime i do /notepad write Text , i get an error has occured . The note could not be saved. 9Is the index of your note above 0?) i have to head out to work, so ill check back on this at midnight.
     
  4. Offline

    7rmb7

    Well... I haven't encountered that error. Can you tell me what the exception was? (It will be printed in your log.) Also, I need to know what other plugins you're running.

    Maybe you downloaded the wrong version. Try re-downloading.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  5. Offline

    paully104

    Code:
    Starting...
    2011-06-24 13:24:56 [INFO] [Notepad] Registering events...
    2011-06-24 13:24:56 [INFO] [Notepad] Done! (v0.1)
    2011-06-24 13:24:56 [INFO] Preparing start region for level 1 (Seed: 1772835215)
    2011-06-24 13:24:56 [INFO] Planetoids version 1.1.0 is enabled!
    2011-06-24 13:24:56 [INFO] WorldEdit 4.6 enabled.
    2011-06-24 13:24:56 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-06-24 13:24:57 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Reitz) Single session is enforced.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Reitz) TNT ignition is blocked.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Reitz) Lighters are PERMITTED.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Reitz) Lava fire is blocked.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Reitz) All fire spread is disabled.
    2011-06-24 13:24:57 [INFO] WorldGuard: Loaded configuration for world 'Reitz"
    2011-06-24 13:24:57 [INFO] WorldGuard: (Planetoids) Single session is enforced.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Planetoids) TNT ignition is PERMITTED.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Planetoids) Lighters are PERMITTED.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Planetoids) Lava fire is blocked.
    2011-06-24 13:24:57 [INFO] WorldGuard: (Planetoids) Fire spread is UNRESTRICTED.
    2011-06-24 13:24:57 [INFO] WorldGuard: Loaded configuration for world 'Planetoids"
    2011-06-24 13:24:57 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-06-24 13:24:57 [INFO] 0 levels found
    2011-06-24 13:24:57 [INFO] [Minecart Mania] Permissions not found. Using OP for admin commands.
    2011-06-24 13:24:57 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.2.7 is enabled!
    2011-06-24 13:24:57 [INFO] [Minecart Mania] MinecartManiaAutocart version 1.2.2 is enabled!
    2011-06-24 13:24:57 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.2.3 is enabled!
    2011-06-24 13:24:57 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.2.5 is enabled!
    2011-06-24 13:24:57 [INFO] [Citizens]: version [1.0.8h] (Realist) loaded
    2011-06-24 13:24:57 [SEVERE] [Citizens]: A Permissions plugin isn't loaded, commands can only be used by ops.
    2011-06-24 13:24:57 [INFO] [Citizens]: Payment method found (Essentials version: 2.2)
    2011-06-24 13:24:57 [INFO] MobArena v0.91.2 enabled.
    2011-06-24 13:24:57 [SEVERE] [Citizens]: A Permissions plugin isn't loaded, commands can only be used by ops.
    2011-06-24 13:24:57 [INFO] Done (0.545s)! For help, type "help" or "?"
    2011-06-24 13:24:57 [INFO] [Citizens]: Loaded 1 NPCs.
    2011-06-24 13:24:58 [INFO] paully104 [/71.170.212.216:53309] logged in with entity id 17 at ([Planetoids] -37.90625, 102.0, -17.8125)
    2011-06-24 13:24:58 [INFO] 1
    2011-06-24 13:24:59 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    2011-06-24 13:25:24 [INFO] -1
    2011-06-24 13:25:24 [INFO] -1
    2011-06-24 13:25:34 [INFO] -1
    2011-06-24 13:25:34 [INFO] -1
    2011-06-24 13:25:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'notepad' in plugin NotePad v0.1
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:304)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:725)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    	at me._7rmb7.NotePad.NotePad.onCommand(NotePad.java:84)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    	... 12 more
     
  6. Offline

    7rmb7

    Lesson: You need permissions to run most plugins. Not mine.
     
  7. Offline

    paully104

    All the other plugins are running fine, it says permissions not found for some so it refers to the OP. Still can't get yours to work.
     
  8. Offline

    7rmb7

    Oh... I see it at the end there. I'll tell you when I get that fixed.

    What was the command you said? (And the arguments)

    I think I know what went wrong. Did you put your index after '/notepad read'?

    Correct usage: '/notepad read [index]'
    Incorrect usage (what I think you did): '/notepad read'

    I'll put in a try-catch clause in the next patch (not releasing until this is added to the plugin list)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  9. Offline

    paully104

    I've been unable to write so i have nothing to read. I get the error with all of the commands except the /notepad help. Also sorry for the poor response times been working 3:30 to midnight the past couple shifts.
     
  10. Offline

    7rmb7

    It's '/np write [message]'.
    It doesn't let you just say '/np write'.

    Also, make sure to download the latest version.
     
  11. Offline

    paully104

    the commands i tested are /np write Hello
    or /np write [Hello]
    each time i get an error has occured. The note could not be saved. (is the index of your note aove 0?) You misspelled above lol, not trying to be a pain in the butt. Just trying to get this plugin working i love the concept.
     
  12. Offline

    dark_hunter

    Mysql support?
     
  13. Offline

    7rmb7

    That's kind of wierd. Dark_hunter, did it work for you?
     
  14. Offline

    7rmb7

    Nowai. :)
     
  15. Offline

    JTAKER

    Having the same problem as Paully.
     

Share This Page