[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

    sexy vampire

    can you add suport to for warpsigns to have color in them and maby force lines ? for 2 and 3 ? ty
     
  3. Offline

    Skirmisher

    Usually it just seems to revert for a player, other players still see your custom skin and upon reconnecting, your custom skin shows up for you again. I've only had to actually reupload my skin once.
     
  4. Offline

    oO Kad Oo

    Same here, right after updating Bukkit to 734. (runing MC_1.5_02, with latest Permissions)
     
  5. Offline

    famerdave

    Bugged?
    Code:
    06:21:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'warp' in plugin MyWarp v1.10.5c
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:664)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:658)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at me.taylorkelly.mywarp.WarpPermissions.permission(WarpPermissions.java:44)
        at me.taylorkelly.mywarp.WarpPermissions.warp(WarpPermissions.java:60)
        at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:366)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
     
  6. Offline

    flames

    yea, with craftbukkit build newer than 771 there is an issue, will update until wednesday (probably earlier, if spare time allows). anyway, its compatible with 771 and also latest recommended build :p
     
  7. Offline

    oO Kad Oo

    This server is running Craftbukkit version git-Bukkit-0.0.0-734-gaa4a5c8-b780jnks (MC: 1.5_02)
     
  8. Offline

    WolfKitOF

    Seeing as the nether will be officially implemented in Beta 1.6, I am wondering how that will behave with this plugin. For instance, if I am in the nether and try to warp to a warp in the overworld, will I be transported to the overworld, or sent to the same coords in the nether? Obviously I want to be transported to the overworld, but then I would also like permissions regarding warping between worlds (and I expect that many RP style servers will want this too). I understand that you may not know how it will work quite yet, but I assume that the nether will be stored the same way as it is in SSP, so you should be able to figure some of it out. My server relies somewhat heavily on your plugin, and having it disabled for any length of time may just drive us to insanity (One player has his house several HOURS away from everyone else).
    Also, could you add search functionality to find every warp warp within r blocks of x y z coords, or for your specific coords? Or an option to list warps by location instead of name. Listing warps by who owns them would also be nice.
     
  9. Offline

    flames

    as soon as it is so far we will see ;)
     
  10. Offline

    vejbuch

    run on 740??
     
  11. Offline

    ToastedJelly

    very likely
     
  12. Offline

    flames

    yep, and on 786. i will also test on 793 tonight.
     
  13. Offline

    oschaus

    Hi :) I'm on 786, and MyWarp isn't even able to initialize on my server. The config folder isn't generated, and all kinds of other plugins aren't able to start either. This pastebin contains my server details (sans MyWarp)

    http://pastebin.com/PibzgPEz

    The errors follow this theme:
    Code:
    18:33:41 [SEVERE] [MYHOME]SQLite exception on initialize
    java.sql.SQLException: path to '/home/oliver/Desktop/Server/plugins/MyWarp/warps.db': '/home/oliver/Desktop/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(DriverManager.java:620)
        at java.sql.DriverManager.getConnection(DriverManager.java:222)
        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:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:336)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:203)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:87)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:270)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:396)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:381)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    18:33:41 [SEVERE] [MYWARP] Could not establish SQL connection. Disabling MyWarp
    18:33:41 [INFO] [BBROTHER] ------------------------------------
    18:33:41 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    18:33:41 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    18:33:41 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    18:33:41 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    18:33:41 [INFO] [BBROTHER] ------------------------------------
    18:33:41 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    18:33:41 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.2
    18:33:41 [SEVERE] Error occurred while enabling BigBrother v1.8-SNAPSHOT (Is it up to date?): me.taylorkelly.help.Help cannot be cast to me.taylorkelly.help.Help
    java.lang.ClassCastException: me.taylorkelly.help.Help cannot be cast to me.taylorkelly.help.Help
        at me.taylorkelly.bigbrother.BBHelp.initialize(BBHelp.java:11)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:135)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:336)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:203)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:87)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:270)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:396)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:381)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    18:33:41 [INFO] Memory max: 1908932608 bytes
    18:33:41 [INFO] Memory total: 1135017984 bytes
    18:33:41 [INFO] Remote Toolkit Plugin V0.4b enabled!
    18:33:41 [INFO] [OpenInv] version 1.1.1 is enabled!
    18:33:41 [INFO] [Permissions] version [2.7.2] (Phoenix)  loaded
    18:33:41 [INFO] SuperJump version 0.5 has been enabled!
    18:33:41 [INFO] [rTriggers] Attached to Permissions.
    18:33:41 [INFO] [rTriggers] Loaded: Version 2.01
    18:33:42 [INFO] [iConomy] Logging is currently disabled.
    18:33:42 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    18:33:42 [INFO] [iConomy] Developed by: [Nijikokun]
    18:33:42 [INFO] [iConomy] hooked into Permissions.
    18:33:42 [INFO] [nSpleef] Hooked into Permissions 2.7.2
    18:33:42 [INFO] [nSpleef] Hooked into iConomy 5.0
    18:33:42 [INFO] nSpleef version 0.4 is enabled!
    18:33:42 [INFO] Weather Man 6 - On Air!
    18:33:42 [INFO] [PermissionsPlus] Attached to Permissions version: 2.7.1
    18:33:42 [INFO] [PermissionsPlus] version 2.0.3 has been enabled.
    18:33:43 [INFO] WorldEdit 4.5 enabled.
    18:33:43 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    18:33:43 [INFO] [MineMail] v1.2 is initializing
    18:33:43 [INFO] [MineMail]  Hooked into Permissions version 2.7.2.
    18:33:43 [INFO] [MineMail] v1.2 is initialized!
    18:33:43 [INFO] ThisBiome is on!
    18:33:43 [INFO] BorderGuard version 3.1 is enabled!
    18:33:43 [INFO] Permissions is enable for BrokenFingers.
    18:33:43 [INFO] TriggerCmds version 1.2 is enabled!
    18:33:43 [INFO] LoginMessage 0.6_4 enabled
    18:33:43 [INFO] Permissions plugin found and successfully connected to ScheduledAnnouncer.
    
    18:33:43 [INFO] ScheduledAnnouncer v1.5 is enabled!
    
    18:33:43 [INFO] Loading map 'org.dynmap.flat.FlatMap'...
    18:33:43 [INFO] Loading map 'org.dynmap.kzedmap.KzedMap'...
    18:33:43 [INFO] Loading renderer 'org.dynmap.kzedmap.DefaultTileRenderer'...
    18:33:43 [INFO] Loading renderer 'org.dynmap.kzedmap.CaveTileRenderer'...
    18:33:43 [INFO] Activated world 'LogieTrail' in Dynmap.
    18:33:43 [INFO] Dynmap WebServer started on null:8123
    18:33:43 [INFO] [dynmap] version 0.16-MikePrimm-3 is enabled
    18:33:43 [INFO] SquidLimiter version 1.1 is enabled!
    18:33:43 [INFO] plugins/Help/ExtraHelp/iConomy.yml
    18:33:43 [INFO] plugins/Help/ExtraHelp/Kit.yml
    18:33:43 [INFO] [HELP] 6 extra help entries loaded
    18:33:43 [INFO] [HELP] Permissions enabled using: Permissions v2.7.2
    18:33:43 [INFO] [HELP] Help 0.2.4.1 enabled
    18:33:43 [INFO] [milkAdmin] v2.6-03.30 is enabled!
    18:33:43 [INFO] [milkAdmin] Developed by: [Snowl, Sharkiller]
    18:33:43 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    18:33:43 [WARNING] WorldGuard: Unknown mob type 'creeper'
    18:33:43 [INFO] WorldGuard: Blacklist loaded.
    18:33:43 [INFO] WorldGuard: (LogieTrail) Single session is enforced.
    18:33:43 [INFO] WorldGuard: (LogieTrail) TNT ignition is PERMITTED.
    18:33:43 [INFO] WorldGuard: (LogieTrail) Lighters are PERMITTED.
    18:33:43 [INFO] WorldGuard: (LogieTrail) Lava fire is PERMITTED.
    18:33:43 [INFO] WorldGuard: (LogieTrail) Fire spread is UNRESTRICTED.
    18:33:43 [INFO] WorldGuard: Loaded configuration for world 'LogieTrail"
    18:33:43 [INFO] WorldGuard: 17 regions loaded for 'LogieTrail'
    18:33:43 [INFO] WorldGuard 5.0-alpha10 enabled.
    18:33:43 [INFO] LWC    Loaded 116 locale strings (0 overrides)
    18:33:49 [INFO] LWC    Using Nijikokun's permissions plugin for permissions
    18:33:49 [INFO] LWC    Loading MySQL
    18:33:49 [INFO] MySQL    Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
    18:33:49 [INFO] LWC    At version: v2.31
    18:33:49 [INFO] [iChat] Found Permissions (v2.7.2)
    18:33:49 [INFO] iChat (v2.2.3) enabled
    18:33:49 [INFO] CommandBook 1.5.1 enabled.
    18:33:49 [INFO] CommandBook: 4 banned name(s) loaded.
    18:33:49 [INFO] CommandBook: 12 kit(s) loaded.
    18:33:49 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    18:33:49 [INFO] [EGGSPAWNER] EggSpawner - Version: 0.5a has been initialized!
    
     
  14. Offline

    flames

    the first error: you dont have downloaded the sqlite libraries.
    the second error: remove help and test with out it, probably your help is wrong version.

    @all: tested and running my public server with build 793. no problems here.
     
    oschaus likes this.
  15. Offline

    flames

    tested and running on cb build 797, while 797 is laggy (this is why its not a recommended build).

    is somebody of you still using groupmanager? i plan to wipe out gm support and make PermissionsEx support instead.
    i will implement PermissionsEx in any case, but the question is if i could safely remove gm w/o kicking some of you ;)
     
  16. Offline

    ToastedJelly

    Using EssentialsGroupManager+EssentialsGroupBridge, so I guess this would continue working, right?
     
  17. Offline

    flames

    hm... i dont support essentials groupmanager directly. the only support for groupmanager is based on the original groupmanager by anjocaido. this is direct support, not using groupbridge (original fakepermissions) sinse some people had issues with fakepermissions and mywarp w/o direct gm support.

    i assume that groupbridge/fakepermissions should still work even if i wipe out gm support. to test groupbridge i will remove temporary the groupmanager support in next version, we will se if that works. if not i will readd. but please dont assume me to update groupmanager in future to essentials, if it will not be compatible with original gm at some time.

    permissionsex is an awesome permissions implementation, that has different backends (file, sql...) and ofcourse ingame commands. also bukkit permissions will come out some day. there is no pont to support multiple implementations.

    so there will be only official support for nijiko/theyeti permissions and permissionsex, and for bukkit.permissions when they are out.
     
  18. Offline

    ToastedJelly

    It looks like EssentialsGroupManager is the original GroupManager and EssentialsGroupBridge is FakePermission. They have been included into Essentials - see here: http://forums.bukkit.org/threads/in...pha-3-a-permissions-replacement-440-531.4723/

    What would ouy recommend to use as an McMyAdmin user? It supports Permission Exporting to Essentials(probably not recommended), Permissions and GroupManager(we're using this now)

    I haven't checked all our plugins, but it looks like most plugins don't support GroupManager directly and work over GroupBridge.

    I don't have 100% insight here, but I always thought the subgroups of GroupManager are a nice Feature to eventually have something where the User can group themselves into subgroups - like all Employees of a Company and all doors and chests are locked and only open for this subgroup etc.

    I haven't found permissionsex in the released plugins list - can you give me a hint?

    What would you recommend for new Plugin Devs? Is Permissions a good common denominator to support? till Bukkit Permissions arrive?
     
  19. Offline

    flames

    permissionsex is not public released yet. its in WIP forum section and on github. http://forums.bukkit.org/threads/admin-dev-permissionsex.13396/

    about gm, yes, most plugins dont support gm already or never did. in case of mywarp and myhome there is direct support for gm. i will reconsider the removal, its not a big thing to have it. i jast dont want update it, if essentials groupmanager some day will change and not be compatible with the original gm. then i will leave the gm support until this day.

    first plugin that supports PermissionsEx natively w/o compatibility layer!

    edit: groupmanager support still there ;)

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

    OverSpeed

    Hi flames,

    When i add "mywarp.warp.basic.createprivate" permission (no create public warp), MyWarp accept non-admins members to create a public warp, this is normal ?

    Thanks,
    OverSpeed301 (sorry for my bad english).
     
  21. Offline

    ToastedJelly

    I think that if you are not allowed to create public warps, you can still use "/warp create" , but it creates private warps. Is this what happens to you, OverSpeed? And can you canfirm this feature, flames?
     
  22. Offline

    flames

    ^ this is how its intended to be. ofc there could be issues, but i cant reproduce.

    please check if the group or player inherit from another group that has - 'mywarp.warp.basic.*' so you first need to negatiate the inherited permissions. try to add to this group or player following permission node:
    - '-mywarp.warp.basic.createpublic' (see the additional minus) which would explicitly disallow create public warps
     
  23. Offline

    mambosepp112

    Can you help me? The plugin isn't working since I upgraded the Bukkit-Server.
    Every-Time I try to warp there's "An internal error occured while attempting to perform this command" What's wrong? I'm in group Admin and OP please help!
     
  24. Offline

    flames

    update craftbukkit to 798, builds 774 - 785 have an issue that breaks a lot of plugins.

    and next time please tell versions you use if you expect help
     
  25. Offline

    ScottSpittle

    can we get MySQL support?!
     
  26. Offline

    Gnyf

    google translate
    works fine with 798 but not 803
    says
    Player Name Not Found
    or have no access
     
  27. Offline

    Mannan

    Doesn't work on 803 for me either. Getting "Player not Found". I can still use /warp <name> though, just can't use all the other commands. So yeah, basically not working lol.

    I also have Essentials installed, if that helps.
     
  28. Offline

    flames

    i tested everything beeing admin+op, admin only, normal group and default group. everything behaves like it should and our public server is running 803 with pex 1.02. dont know about groupmanager, even if it is built in, i dont officially support gm.
     
  29. Offline

    WolfKitOF

    One of my players is heavily requesting a type of private warp where players can only warp to it when the owner of the warp is online, and that he would get a message when they do so. I don't know if this is something that you would want to deal with or not, but he has been very insistant, and paraniod too. (This is the guy who won't build a base within 1,000 blocks of spawn, and prefers to be at least twice that distance away. He is currently 5,000 blocks from spawn)
     
  30. Offline

    Epidemic

    Same issue as Mannan. Lastest Essentials Build v2.2 with PermissionsPlus and the newest Plugion-Version of MyWarp. The Warps are working well but only the warp Signs!!! I can't use /warp [WarpName] to get there. I didn't changed anything in the Permissions. Before i've got 1.10.5c and everything worked fine.
    This is really a nice Plugin go on working on it :) And very good Job!!!

    Greets
     
  31. Offline

    ToastedJelly

    We're also using Lockette and People started building small houses out of locked Furnaces around warp points with the only possible exit being a locked door. This way people can only step out if the owner opens the door for them and they need to /spawn or /home to leave again otherwise. Maybe that's something for that guy.
     

Share This Page