[INACTIVE][TP] MyWarp v1.10.3: Basic, Social, Guiding, WarpSigns [531]

Discussion in 'Inactive/Unsupported Plugins' started by tkelly, Jan 6, 2011.

     
  1. Offline

    tkelly

    MyWarp v1.10.3
    Download MyWarp v1.10.3
    Download MyWarp (Static Jar)
    MyWarp Source
    Suggest Features

    Uses Permissions plugin to manage permissions (but is not required)

    For simple set-up, give your users 'mywarp.warp.*'
    and your moderators 'mywarp.*' (includes mywarp.admin and mywarp.warp.*)

    ...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).
    Code:
    MyWarp
    <name>
    
    <name> can be the name of any warp. It can also be only part of the name (so "tkell" as <name> will still take you to "tkelly's house")

    ...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.

    Transitioning from hMod? Have a warps.txt full of warps? Use /warp convert to import that into the MyWarp database.


    Coming Soon.
  2.  
  3. Online

    Drakonas

    Plugin constructor was changed. The constructor needs to be changed in your code to make this plugin work. Could you please fix?

    Thanks for your hard work,
    Drakonas
  4. Offline

    tkelly

    1.5 - Updated for changed constructor in Bukkit update. Also adds double (as in with decimal points) precision to your home locations (be in portions of blocks, not just corners) and will help prevent getting stuck in blocks. :)
  5. Offline

    the_cRu

    Works great, but is there any way to set user permissions? Our server has a few groups and standard user should not use this commands.

    I hope you understand my english :/
  6. Offline

    cjc343

    dev.bukkit.org profile:
    cjc343
    My Plugins
    Bukkit doesn't have a concrete form of user management yet. Many plugin authors are waiting until that support is officially offered to allow for permissions to be set.
  7. Offline

    the_cRu

    Hm, other plugins handle this with extra txt or propertie files. Maybe tkelly update this? That would be great.
  8. Offline

    Lim-Dul

    The property files are a bit messy though - you need to add every single player name to the access lists... :-\
    tkelly said on IRC that he is considering restricting various commands to people who are OPs (in LOLNotch's rank system) i.e. figure in ops.txt. This would make a lot of sense for a temporary solution and would link all permission to one file, not 10. =)
  9. Offline

    the_cRu

    I find the way with the username in a file good, because our server is a payserver, everyuser has to pay to use all the commands. Only Ops is the wrong way.

    Sure, if you have many mods you have to put their usernames in every file. A lot of work, but i found no other solution :/
  10. Offline

    Lim-Dul

    The proper solution will be an integrated permission API - implemented by Bukkit itself or a widely accepted plugin. You shouldn't be running Bukkit on "production" servers anyway since it's a development version.
  11. Offline

    the_cRu

    This is not a "production" server (if I understood the meaning). We are a group of players (known us from a community) and apportion the server costs to each other. Its not commercial or something else.

    The solution with the API sounds good. Hope that comes.
  12. Offline

    WegFetZ

    The warps are deleted/ not saved everytime i stop and restart the server.
    May be caused by this:

  13. Offline

    Fewmets

    @WegFetZ download the sqlite library in the first post and put it in your craftbukkit folder (with craftbukkit23.jar or w/e you named the snapshot.).
    WegFetZ likes this.
  14. Offline

    WegFetZ

    Oh thank you. I had the sqlite library in my plugins folder:oops:
  15. Offline

    Sabek

    Would it be possible to allow OPed users to delete warps that are unowned or owned by others?
    Very nicely done mod btw.
  16. Offline

    xZise

    dev.bukkit.org profile:
    xZise
    My Plugins
    Nice work! Can you add the possibility that you can directly create a private warp? Like "/warp create-private".

    I didn't test it, but could it be possible to create multiple warps with the same name but different owners? So everyone has it's own pool of warps and a pool of global warps?

    xZise
  17. Offline

    seanth

    Is there a way to manually edit the homes-warps.db? I imported info from hmod warps.txt and homes.txt, and would like to reassign the "No Player" warps to a player.

    It's clear that something like pico or vi isn't able to edit the files. Any advice? Please, no Windows solutions.
  18. Offline

    xZise

    dev.bukkit.org profile:
    xZise
    My Plugins
    It is a sqlite database. You could download a program there to execute SQL commands.

    But I have no clue what the SQL commands could be.

    [edit]I opened the database and the command is:
    [/edit]

    [edit]I couldn't test it atm but what is if you want to create a warp named "create" ;) My suggestion would be:
    and
    only as alias for this. The only "problem" could be, if you named a warp with "to" ;) but when no name is given, you could guess that the name would be "to".[/edit]

    [edit]Okay (thx for it is OSS) my fix for your suggestion:
    Code:
    } else if (split.length > 1) {
      // TODO ChunkLoading
      String name = "";
      int start = 1;
      if (split[1].equalsIgnoreCase("to")) {
        start++;
      }
      for (int i = start; i < split.length; i++) {
        name += split[i];
        if (i + 1 < split.length)
    (first line is line 159 in WMPlayerListener.java.[/edit]
    xZise
  19. Offline

    Jupitersio

  20. Offline

    seanth

    Thanks for the help xZise and Jupitersio.
  21. Offline

    Simanova

    Works great!
  22. Offline

    tkelly

    I'll be putting in an update that will allow people to "give" their warps to other people (so now the other person will be in charge of it).
    And also allow OP's to modify all warps (so all those 'No Player' warps can be claimed).

    And I'll also build in a command to easily make private warps with "/warp createp".
  23. Offline

    Jasin

    Nice work. Can you also take use of the plugin folder they have now? It makes it cleaner to have your own folder in plugins then the db in the main directory.
  24. Offline

    Glitchtoast

    This plugin works with exellence ! :D
  25. Offline

    CoZmicShReddeR

    In Build 40 it broke!
  26. Offline

    DaBari

    MyWarp works great for me, but as soon as I restart my server all my warp locations are deleted.
  27. Offline

    Wolfy9247

    dev.bukkit.org profile:
    Wolfy9247
    My Plugins
    Does this work with the latest build? None of the commands seem to be working at this moment.
  28. Offline

    Jobsti

  29. Offline

    tkelly

    V1.6 updated for #48+
    - Updated for changes in Bukkit
    - New /warp give <player> <name> - Gives your warp <name> to <player>
    - If you are an OP, you can modify, delete, and give any warp (this'll help with all those "No Player" warps)


    @DaBari: Check for an errors in the console. It sounds like you might not have the SQLite dependency set up right.
  30. Offline

    b10

    same here :confused:
  31. Offline

    tkelly

    b10, check that you're not getting any errors in the console. Like I told DaBari, it sounds like you don't have the SQLite dependency set up right, so MyWarp is not able to save or load warps.
  32. Offline

    Jobsti

    I tested it.... disconnect, restart server /warp list

    My first warp from the first release is there and a new, created before the restart.
    This plugin works fine with #50.

    Thanks.
    What I need: /warp list, lists the warps, but I want the info (not only the color) if the Warp is public or private.
    like:
    Warp1 by User123 public
    Warp4 by you private
    Warp5 by you public
    warp8 by user53 private

Share This Page