[INACTIVE][TP] MyWarp v2.0.1 - native PermissionsEx support - no superperms yet [1337]

Discussion in 'Inactive/Unsupported Plugins' started by flames, Apr 15, 2011.

  1. Offline

    flames

    MyWarp:
    Version: 2.0dev
    Download (JAR / ZIP)
    Source code

    MyWarp is now in development by SpathiZilla, please see here

    MyWarp was made by Taylor Kelly (tkelly), all credits go to him! I forked MyWarp and will provide updates in future, or until tkelly is back. There are no changes in usage or functionality. Just the same commands, same permission nodes and same features. Original description:


    ...is Basic
    Many server admins only want the very basics. MyWarp delivers on that, and still gives the speed and reliability of using a SQLite database.

    By only giving your users permission to mywarp.warp.basic.*, they will only be able to use the very basic commands.


    ...is Social
    However, sometimes your users will demand more. They'll want to make their warps private, invite only specific people to their warps, even give their warp to someone else. MyWarp can do that too.

    Give your users mywarp.warp.soc.*, and they'll be able to do all of that.


    ...is Intelligent
    Sometimes, warps can be long and hard to remember. This is where MyWarp's auto-complete abilities come into play. It tries to find the most applicable match, and sends you there. It only considers warps you have access to, and will not send you somewhere unless it knows it's correct.

    A few examples:
    There are warps: {"Mob Spawner", "Farm", "farm", "tkelly's house", "joe's house"}
    tkelly has access to: {"Mob Spawner", "Farm" "tkelly's house"}
    joe has access to: {"Mob Spawner", "Farm", "farm", "joe's house"}

    No matter who uses /warp spawn, they will be sent to "Mob Spawner"
    If tkelly uses /warp house, he'll be sent to "tkelly's house"
    If joe uses /warp house, he'll be sent to "joe's house"
    If tkelly uses /warp farm or /warp arm, he'll be sent to "Farm"
    If joe uses /warp farm, he'll be sent to "farm"
    But if joe uses /warp arm, it equally matches both "Farm" and "farm", so will send him to neither.


    ...is Sign-full
    Physical interactions with the world is what Minecraft is all about. That's why signs can be used to replace many of the basic commands. For now, you can have a sign warp you to one of your current warps (using the auto-complete). Feel free to suggest more things, and I'll build that in.

    In order to build a warping sign, create a sign with two lines of text (it doesn't matter what specific lines).

    If you don't use the basic permission-set, give your players following nodes:

    ...is Guiding
    Want to make your users work to get to their points of interest? Rather than giving them /warp permission, just give them (mywarp.warp.basic.compass) permission. This will let them /warp point <name> to a given warp, and that'll orient their compass to that warp, allowing them to use their own two legs to get there.


    ...is Restricting
    In addition to the compass restrictions, you can also limit the number of public and private warps users can make. You can find and change these settings in MyWarp.settings.

    Until Bukkit's permissions and groups get fleshed out, this is a global number. However, with another setting in MyWarp.settings, you can allow admins to go around this limit.


    ...is Helpful
    As an server administrator, warps can easily be abused. MyWarp gives you access to be able to visit and modify all the warps.



    Changelog:
    Version 2.0dev
    • MySQL support
    • importing warps from warps.db to mysql
    • permissions 3.x
    • removed extremely old artifacts (import of hmod warps)
    • tested and works on CB928
    Version 1.10.7
    • added native support for PermissionsEx
    • fixed namespace
    Version 1.10.6
    • updated for CB786-793
    • updated to Help 3.0 ( not interesting for you until you compile from Lycano's fork on github :p )
    Version 1.10.5c
    • fixed the "Could not pass event PLAYER_INTERACT to MyWarp" error
    Version 1.10.5b
    • updated for CraftBukkit RB #677 (also tested with CB #678)
    • Permissions 2.5.5 or higher (tested with 2.6 and 2.7)
    • added GroupManager support
    • changed update URL where MyWarp downloads sqlite libraries
     
    kahlilnc, Mtihc, Charant and 5 others like this.
  2. Offline

    khamseen_air

    Glad you decided to fork it, even if only for now. Much easier to see updates this way, thanks for taking it on. :)
     
  3. Offline

    Phase

    I agree with this, thanks for keeping the plugin alive @flames :)
     
  4. Offline

    Skirmisher

    Great. After updating to 1.10.5b (from 1.10.5a), I'm getting slammed with these again whenever I interact with the world:
    Code:
    2011-04-15 17:55:19 [SEVERE] Could not pass event PLAYER_INTERACT to MyWarp
    java.lang.ClassCastException: me.taylorkelly.mywarp.MWBlockListener cannot be cast to org.bukkit.event.player.PlayerListener
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:477)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    The plugin itself works fine though (just like it did the last time this happened).
     
  5. Offline

    ZachBora

    It's been ported to my attention that for new user of your MyWarp they are missing the config files that was in the original zip.
     
  6. Offline

    Tatsu-Kan

    Same issue with bukkit 677...
     
  7. Offline

    kylebracewell

    Same problem as skirmisher. Help?

    (Running 670)
     
  8. Offline

    seriosbrad

    Me too. Going to make my server.log very big lol.
     
  9. Offline

    user_2408

    Confirming the above few posts re: error.

    Confirming the above errors on craftbukkit 677.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 15, 2018
  10. Offline

    pabbie

    Why doesnt this work for me?
    I get all those error messages as tatsu mentioned and also I can set warps. But then when I try to warp it says "no such warp"
     
  11. Offline

    flames

    fixed. was a typo, i really should not work on that in the late night :p
     
  12. Offline

    Marijn100

    It isn't working for me. I use McMyAdmin with Group Manager installed. Also using Craftbukkit 677. When I start the server all my other plugins are working fine but MyWarp isn't showing up in the console. Do I need some additional steps to install it?
     
  13. Offline

    flames

    hm... normally mywarp works natively with groupmanager, but if you have some modified (i use anjocaidos alpha5 as dependency), check if you have fakepermissions installed, or groupbridge if you use essentials groupmanager.

    do you see any errors in console? mywarp would throw an exception to console if something is wrong. if not, then you need to check if you have all permission nodes correctly in groupmanager config. without troubleshoot and clear issue report i cant help you.
     
  14. Offline

    pabbie

    hey, ok so now I dont get all those error messages in console but I still cant use ut. Get same error, create a warp and then it cant find it?, weird.
     
  15. Offline

    seriosbrad

    Thanks, working again!
     
  16. Offline

    pabbie

    Nvm, it was me failing. I used /setwarp instead of /warp create.

    Perhaps other ppl have done the same...lol
     
  17. Offline

    Marijn100

    It's magically solved! :s
     
  18. Offline

    Jupi

    I get this error on server startup... I have tried reinstalling but to no luck. Any idea on how to fix this?

    Code:
    10:06:50 [SEVERE] [MYHOME]SQLite exception on initialize
    java.sql.SQLException: path to 'C:\Users\Owner\Desktop\Minecraft Server\plugins\
    MyWarp/warps.db': 'C:\Users\Owner\Desktop\Minecraft Server\plugins\MyWarp' does
    not exist
            at org.sqlite.Conn.open(Conn.java:103)
            at org.sqlite.Conn.<init>(Conn.java:57)
            at org.sqlite.JDBC.createConnection(JDBC.java:77)
            at org.sqlite.JDBC.connect(JDBC.java:64)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at me.taylorkelly.mywarp.ConnectionManager.initialize(ConnectionManager.
    java:15)
            at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:57)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    10:06:50 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
     
  19. Offline

    mxms

    I'm getting the same error.
     
  20. Offline

    ZachBora

    @flames I think you need to put a zip that includes an empty warps.db, MyWarp.settings and .DS_Store.
     
  21. Offline

    flames

    good idea, i will do that with the next version.
    but mywarp creates the folder and the needed files itself at first start, just restart server again and all is done.
    the .DS_Store file is not needed, its a mac os x specific resource fork file, that is not from mywarp, this is kinda windows' desktop.ini file that gets created by the operating system and stores the windows size and sorting options (and some other things)

    please rename the server folder so that it does not contain a space in the name: "Minecraft Server" -> MinecraftServer or mcserver or what else w/o space and special characters.
     
  22. Hi for some reason the MyWarp doesnt work for me... The only thing I've done is to move the whole server onto a different hard drive. My other mods work perfectly
     
  23. Offline

    DoomGiver32

    I have the same problem, removing the space didn't fix it. :(
     
  24. Offline

    Jupi

    Yea me too.
     
  25. Offline

    flames

    really strange, i overseen whole source code but didnt found anything that could cause this error. please do some troubleshooting by removing another plugins to find out if this error is caused by incompatibility with some plugin that i dont tested, report it to me, so i can look into it. dont assume me to test every plugin released on this forum.
    also the positive responses argue against an error in mywarp. i will test it on windows, but not tonight. on linux and mac os x mywarp is working perfectly, tested, not just based on the positive reports.

    also tested with groupmanager, it works, without fakepermissions! i didnt tested that before, so it was just an assupmtion. but now i did, specially for you groupmanager users! it just works! dont ask for help if you use some modified version of groupmanager (like essentials groupmanager) i dont have the time and resources to test with every available plugin out there.

    ah, btw. the error tells about sqlite problem to use the database, please chek if the mywarp databe is there, if the permissions are correct (on linux/mac os x/any unix "755" should do). delete all files from bukkitdir/lib/, let mywarp redownload fresh libraries automatically. check if there is another plugin that uses sqlite libraries and may cause some concurrency with mywarp. without a nice issue report i cant find the problem: the obove + craftbukkit version + mywarp version. the error it self is reported so dont paste it again.

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

    Don Redhorse

    THANKS!
     
  27. Offline

    melmantheman

    i dont see any links to download the new version. please put one up i need this
     
  28. Offline

    DoomGiver32

    Disabled all plugins (moved out of folder) and still did not work. I'm on windows Vista.

    Code:
    19:58:17 [INFO] Starting minecraft server version Beta 1.4
    19:58:17 [INFO] Loading properties
    19:58:17 [INFO] Starting Minecraft server on *:25565
    19:58:17 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    19:58:17 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    19:58:17 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    19:58:17 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    19:58:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-
    g9992fff-b677jnks (MC: 1.4)
    19:58:17 [INFO] Preparing level "world"
    19:58:17 [INFO] Preparing start region
    19:58:17 [INFO] 144 recipes
    19:58:18 [INFO] [Permissions] (Phoenix) was Initialized.
    19:58:18 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    19:58:18 [INFO] [AdminCmd] (version 4.3) Enabled with Permissions.
    19:58:18 [INFO] AntiHack version 1.5 is enabled!
    19:58:18 [INFO] CraftBukkitUpToDate version 2.4.9 is enabled!
    19:58:19 [INFO] CButD: CraftBukkit is up to Date
    19:58:19 [INFO] creaturebox version 0.7.2 is enabled!
    19:58:19 [INFO] [iCoLand] Successfully linked with Permissions
    19:58:19 [INFO] [iConomy] Logging is currently disabled.
    19:58:19 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    19:58:19 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    19:58:19 [INFO] [iCoLand] Successfully linked with iConomy
    19:58:19 [INFO] [iCoLand] Successfully linked with Permissions
    19:58:19 [INFO] [iCoLand] Initializing land manager...
    19:58:19 [INFO] [iCoLand] Version [v2.09] (fattire) enabled
    19:58:19 [INFO] [iConomy] hooked into Permissions.
    19:58:19 [INFO] [iZone : 5.7] Enabled!
    19:58:19 [INFO] [iZone : 5.7] Using permissions of Permissions.
    19:58:19 [INFO] [iZone : 5.7] Loaded 0 zones out of 2
    19:58:19 [INFO] [kFeatherTeleport] finished loading (v0.7) [featherMaterial: FEA
    THER, consumeFeathers: 5, Permissions enabled]
    19:58:19 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    19:58:19 [INFO] [Minecart Mania] MinecartManiaCore version 1.09c is enabled!
    19:58:19 [INFO] [Minecart Mania] MinecartManiaPressurePlates version 1.08 is ena
    bled!
    19:58:19 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.09b is enab
    led!
    19:58:19 [INFO] [Minecart Mania] MinecartManiaStation version 1.09 is enabled!
    19:58:19 [SEVERE] [MYHOME]SQLite exception on initialize
    java.sql.SQLException: path to 'C:\Users\Pat\Desktop\MinecraftServer\plugins\MyW
    arp/warps.db': 'C:\Users\Pat\Desktop\MinecraftServer\plugins\MyWarp' does not ex
    ist
            at org.sqlite.Conn.open(Conn.java:103)
            at org.sqlite.Conn.<init>(Conn.java:57)
            at org.sqlite.JDBC.createConnection(JDBC.java:77)
            at org.sqlite.JDBC.connect(JDBC.java:64)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at me.taylorkelly.mywarp.ConnectionManager.initialize(ConnectionManager.
    java:15)
            at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:57)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    19:58:19 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
    19:58:19 [INFO] npcx : load settings (0.464) begun
    19:58:19 [INFO] jdbc:mysql://localhost:3306/npcx?autoReconnect=true
    19:58:19 [INFO] npcx : initialising database connection
    19:58:19 [INFO] npcx : loadsettings() ended
    19:58:19 [INFO] npcx : registering monitored events
    19:58:19 [INFO] npcx : Checking for DB Updates from DBVersion:1.09
    19:58:20 [INFO] **********************************************
    19:58:20 [INFO] * Congratulations! Your NPCX database is now *
    19:58:20 [INFO] *       updated to version 1.10              *
    19:58:20 [INFO] **********************************************
    19:58:20 [INFO] npcx : loading player factions
    19:58:20 [INFO] npcx : Loaded 0 player factions.
    19:58:20 [INFO] npcx : Loaded 0 research.
    19:58:20 [INFO] npcx : loading zones
    19:58:20 [INFO] npcx : Loaded 0 zones with 0 zone_members.
    19:58:20 [INFO] npcx : loading Merchants
    19:58:20 [INFO] npcx : Loaded 0 Merchant with (0) entries.
    19:58:20 [INFO] npcx : loading factions
    19:58:20 [INFO] npcx : Loaded 0 factions.
    19:58:20 [INFO] npcx : loading faction entries
    19:58:20 [INFO] npcx : Loaded 0 faction entries.
    19:58:20 [INFO] npcx : loading pathgroups
    19:58:20 [INFO] npcx : Loaded 0 pathgroup.
    19:58:20 [INFO] npcx : loading loottables
    19:58:20 [INFO] npcx : Loaded 0 loottables.
    19:58:20 [INFO] npcx : loading spawngroups
    19:58:20 [INFO] npcx : Loaded 0 spawngroups.
    19:58:20 [INFO] npcx : loading players
    19:58:20 [INFO] npcx : Loaded 0 players.
    19:58:20 [INFO] npcx: Matching players
    19:58:20 [INFO] npcx version 0.464 enabled.
    19:58:20 [INFO] npcx : Successfully linked with iConomy.
    19:58:20 [INFO] QuickBelt 0.1.7 loaded.
    19:58:20 [INFO] SaveStopper 0.7 is enabled.
    19:58:20 [INFO] SaveStopper: Disabling saving...
    19:58:20 [INFO] War> War v1.4.2 (Slim) is on.
    19:58:20 [INFO] WorldEdit 4.3 enabled.
    19:58:20 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    19:58:20 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    19:58:20 [INFO] WorldGuard: (world) Single session is enforced.
    19:58:20 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    19:58:20 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    19:58:20 [INFO] WorldGuard: (world) Lava fire is blocked.
    19:58:20 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    19:58:20 [INFO] WorldGuard: Loaded configuration for world 'world"
    19:58:20 [INFO] WorldGuard 5.0-alpha8 enabled.
    19:58:20 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.09 is enab
    led!
    19:58:20 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.09e is enab
    led!
    19:58:20 [INFO] Done (0.339s)! For help, type "help" or "?"
    19:58:20 [INFO] War> Warzones ready.
    19:58:21 [INFO] Forcing save..
    19:58:21 [INFO] CONSOLE: Forcing save..
    19:58:21 [INFO] Saving chunks
    19:58:21 [INFO] Save complete.
    19:58:21 [INFO] CONSOLE: Save complete.
    19:58:21 [INFO] Disabling level saving..
    19:58:21 [INFO] CONSOLE: Disabling level saving..
    19:58:22 [INFO] creaturebox 0.7.2: saving spawners
    19:58:26 [INFO] [Minecart Mania] Loading Sensor Data.
    19:58:29 [INFO] The automatic update-Check only work every 60 minutes, the last
    check was 2 minutes ago.
    >
    That's my entire console there, just in case you see something that might be incompatible. :p

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

    flames

    any chance that you look again into the OP of the topic? ;)
    the download link there is always up to date, latest version is still 1.10.5b

    i will definitely try to find the issue, even if i am pretty sure it has nothing to do with mywarp. i will setup a window testing server tomorrow. its late and i go sleep now.

    @DoomGiver32: the plugin that makes problems for you is NOT mywarp! its myhome! you use old version of myhome, not the one Spathizilla updated, which is ofc conflicting with mywarp, because old versions of myhome and mywarp shared the same database, that is why there is also mywarp in the message.

    edit: nah was too angry, edited, nvm...

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

    ThorSve33

    Do you have a script that can *easily* change EssentialsWarp warps to MyWarp warps...as in the warp files...? Thanks!
     

Share This Page