Inactive [TP] Stargate v0.6.10 - The Bukkit port. A portal plugin [1317]

Discussion in 'Inactive/Unsupported Plugins' started by Drakia, Feb 10, 2011.

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


    Stargate - The Bukkit Port. A portal plugin.
    Version: 0.6.10
    CraftBukkit: 1317
    Addons: Stargate-DHD

    Plugin Dependencies:
    Permissions 2.x/3.x (Optional)
    Register (Optional, will allow any Economy plugin to be used)

    I require a few things to offer support to you. First, I need you to enable debug mode (set debug to true in the Stargate config.yml file). Second, I need you to post your server.log file to and post a link to that in the topic. Then I need you to paste both your Stargate config.yml, and your Permissions config to and link to those as well. Without this information I will be unable to help you, so do yourself a favor and post the required information!

    This plugin supports Permissions 2.x/3.x as well as SuperPerms via the PermissionsBukkit plugin or another SuperPerms manager.
    This plugin supports Register -- This will allow use of any economy plugin that Register supports

    This is a port of the Stargate plugin from hMod - Originally by Dinnerbone/Sturmeh.
    Create gates that allow for instant-teleportation between large distances. Gates can be always-open, or triggered, they can be hidden, or accessible to everybody, they can share a network, or they can be split into clusters.


    Language Packs
    ============= -- German (Thanks EduardBaer) -- Dutch (Thanks Grovert11) -- Russian (Thanks ckr@jk) -- French (Thanks Dauphin14)

    Known Issues

    User Videos
    ============= - Tutorial video by @BIG_PIP_IN - A few notes:
    1) The 'F' option is actually to create a 'F'ree gate. A fixed gate is when you specify a destination on the second line.
    2) The button is automagically created for you, so there's no need to actually place a button, but no harm in it either

    I now fully implemented SuperPerms support, which meant an overhaul of the Permissions nodes. I also removed the network/world filter options as they are completely handled by Permissions now with no need for an option. The new permissions nodes means you may need to redo your permissions setup.
    A child node (indented) will be given if a player has the parent node (So a player with stargate.use will have access to all* nodes essentially, though it's not implemented like this you can think of it like this).

    If you want to have more control over who can use what network, first set the stargate.use permission to false (This is REQUIRED, as it defaults to true, and is a full override). When using the network/world nodes, you will need to set up BOTH nodes, leaving out either or will result in 'Permission Denied' errors.
    Once you have disabled stargate.use, you can either give individual{name} nodes, or give them and set specific{name} nodes to false to deny access to those specific networks.
    Worlds work in the same way, though with{name}. (Make sure to set up both AND nodes to avoid Permission Denied errors).
    Create and destroy permissions work along the same lines, stargate.create/stargate.destroy will override all other options, if you want more fine-tuned control first set those permissions to false, then give and use the subnodes to remove specific networks/gates.

    If you are not using stargate.use, stargate.create or stargate.destroy then you MUST define EVERYTHING yourself for that specific set of nodes

    stargate.use -- Allow use of all gates linking to any world in any network (Override ALL network/world permissions. Set to false to use network/world specific permissions) -- Allow use of gates linking to any world (For Permissions 2.x/3.x please use*){world} -- Allow use of gates with a destination in {world}. Set to false to disallow use. -- Allow use of gates on all networks (For Permissions 2.x/3.x please use*){network} -- Allow use of all gates in {network}. Set to false to disallow use.
    stargate.option -- Allow use of all options
      stargate.option.hidden -- Allow use of 'H'idden
      stargate.option.alwayson -- Allow use of 'A'lways-On
      stargate.option.private -- Allow use of 'P'rivate -- Allow use of 'F'ree
      stargate.option.backwards -- Allow use of 'B'ackwards -- Allow use of 'S'how
    stargate.create -- Allow creating gates on any network (Override all create permissions)
      stargate.create.personal -- Allow creating gates on network {playername} -- Allow creating gates on any network (For Permissions 2.x/3.x please use*){networkname} -- Allow creating gates on network {networkname}. Set to false to disallow creation on {networkname}
      stargate.create.gate -- Allow creation of any gate layout (For Permissions 2.x/3.x please use stargate.create.gate.*)
        stargate.create.gate.{gatefile} -- Allow creation of only {gatefile} gates
    stargate.destroy -- Allow destruction gates on any network (Orderride all destroy permissions)
      stargate.destroy.personal -- Allow destruction of gates owned by user only -- Allow destruction of gates on any network (For Permissions 2.x/3.x please use*){networkname} -- Allow destruction of gates on network {networkname}. Set to false to disallow destruction of {networkname} -- Allow free use/creation/destruction of gates -- Allow free use of Stargates -- Allow free creation of Stargates -- Allow free destruction of Stargates
    stargate.admin -- Allow all admin features (Hidden/Private only so far)
      stargate.admin.private -- Allow use of Private gates not owned by user
      stargate.admin.hidden -- Allow access to Hidden gates not ownerd by user
    Please read this if you are using PermissionsEx
    PermissionsEx loads nodes in a very screwed up manner. You need to put any wildcards AFTER their negations. So if you want to allow access to all networks except 'Bah' you would do it as such:
    This is a PermissionsEx issue, and there is nothing I can do to make it easier to use negations.

    Default Permissions
    stargate.use -- Everyone
    stargate.create -- Op
    stargate.destroy -- Op
    stargate.option -- Op -- Op
    stargate.admin -- Op

    Building a gate:
       O  O - These are Obsidian blocks. You need 10.
       O  O - Place a sign on either of these two blocks of Obsidian.
       O  O
    Sign Layout:
    - Line 1: Gate Name (Max 11 characters)
    - Line 2: Destination Name [Optional] (Max 11 characters, used for fixed-gates only)
    - Line 3: Network name [Optional] (Max 11 characters)
    - Line 4: Options [Optional] ('A' for always-on fixed gate, 'H' for hidden networked gate, 'P' for a private gate, 'F' for a free gate, 'B' is a backwards gate (You will come out the back), 'S' is for showing always-on gates in their destination list)

    The options are the single letter, not the word. So to make a private hidden gate, your 4th line would be 'PH'.

    Show Spoiler

    Using a gate:
    - Right click the sign to choose a destination.
    - Right click the button to open up a portal.
    - Step through.

    Fixed gates:
    - Fixed gates go to only one set destination.
    - Fixed gates can be linked to other fixed gates, or normal gates. A normal gate cannot open a portal to an always-open fixed gate however.
    - To create a fixed gate, specify a destination on the second line of the stargate sign.
    - Set the 4th line of the stargate sign to "A" to enable an always-open fixed gate.

    Gate networks:
    - Gates are all part of a network, by default this is "central".
    - You can specify (and create) your own network on the third line of the sign when making a new gate.
    - Gates on one network will not see gates on the second network, and vice versa.
    - Gates on different worlds, but in the same network, will see eachother.

    Hidden Gates:
    - Hidden gates are like normal gates, but only show on the destination list of other gates under certain conditions.
    - A hidden gate is only visible to the creator of the gate, or somebody with the stargate.hidden permission.
    - Set the 4th line of the stargate sign to 'H' to make it a hidden gate.

    iConomy Support:
    The latest version of Stargate has support for iConomy. Gate creation, destruction and use can all have different costs associated with them.
    There is a default cost defined in the Stargate config.yml, and you can define per-gate layout costs in the custom .gate files you create.
    To define a certain cost to a gate just add these lines to your .gate file:

    Custom Gate Layout
    You can create as many gate formats as you want, the gate layouts are stored in plugins/Stargate/gates/
    The .gate file must be laid out a specific way, the first lines will be config information, and after a blank line you will lay out the gate format. Here is the default nether.gate file:
    portal-open/closed are used to define the material in the gate when it is open or closed.
    "X" and "-" are used to define block "types" for the layout (Any single-character can be used, such as "#").
    In the gate format, you can see we use "X" to show where obsidian must be, "-" where the controls (Button/sign) are.
    You will also notice a "*" in the gate layout, this is the "exit point" of the gate, the block at which the player will teleport in front of.
    As of v0.5.5 you can use block data in .gate files in the format:
    Which would make the block only work if it's black wool. If no data is supplied any type of that block (Any color wool) will work.

    default-gate-network - The default gate network
    portal-folder - The folder your portal databases are saved in
    gate-folder - The folder containing your .gate files
    destroyexplosion - Whether to destroy a stargate with explosions, or stop an explosion if it contains a gates controls.
    useiconomy - Whether or not to use iConomy
    createcost - The cost to create a stargate
    destroycost - The cost to destroy a stargate (Can be negative for a "refund"
    usecost - The cost to use a stargate
    chargefreedestination - Enable to allow free travel from any gate to a free gate
    freegatesgreen - Enable to make gates that won't cost the player money show up as green
    toowner - Whether the money from gate-use goes to the owner or nobody
    maxgates - If non-zero will define the maximum amount of gates allowed in a network.
    lang - The language to use (Included languages: en, de)

    debug - Whether to show massive debug output
    permdebug - Whether to show massive permission debug output

    Message Customization
    As of 0.6.5 it is possible to customize all of the messages Stargate displays, including the [Stargate] prefix. You can find the strings in plugins/Stargate/lang/en.txt.
    If a string is removed, or left blank, it will not be shown when the user does the action associated with it.
    There are three special cases when it comes to messages, these are:
    ecoDeduct=Spent %cost%
    ecoRefund=Redunded %cost%
    ecoObtain=Obtained %cost$ from Stargate %portal%

    As you can see, these three strings have variables in them. These variables are fairly self-explanatory.
    The full list of strings is as follows:
    destroyMsg=Gate Destroyed
    invalidMsg=Invalid Destination
    blockMsg=Destination Blocked
    denyMsg=Access Denied
    destEmpty=Destination List Empty

    ecoDeduct=Deducted %cost%
    ecoRefund=Redunded %cost%
    ecoObtain=Obtained %cost$ from Stargate %portal%
    ecoInFunds=Insufficient Funds

    createMsg=Gate Created
    createNetDeny=You do not have access to that network
    createPersonal=Creating gate on personal network
    createNameLength=Name too short or too long.
    createExists=A gate by that name already exists
    createFull=This network is full
    createWorldDeny=You do not have access to that world
    createConflict=Gate conflicts with existing gate

    Q) Why aren't gates destroyed when I remove the obsidian with a tool like the superpickaxe?
    A) Because when you use a plugin tool such as that, it SETS the block to air, it doesn't destroy it in the same way as hitting it does. Therefor no block destroy hooks are called.

    Q) How do I make a custom .gate file?
    A) Take a look at plugins/Stargate/gates/nethergate.gate, it has all of the information you'll need. You will need to work on a COPY of nethergate.gate however, as nethergate.gate is overwritten on plugin startup.

    Q) Does this plugin work with {X}?
    A) I really don't know, I don't know how {X} is implemented, or whether they will conflict. I'm also about as interested in looking into it as you are apparently ;)

    Q) What is a "Hidden Gate"?
    A) A hidden gate is a gate on a network that is only shown on other gates destination lists if the player looking at them is its creator, or somebody with the stargate.hidden permission. A hidden gate can still be dialed out from by anybody unless it's set to Private.

    Q) What is a "Private Gate"?
    A) A private gate is a gate that can only be dialed out from by its creator, or somebody with the stargate.private permission. If it's not hidden then anybody can still dial into this gate.

    Q) What does "destroyexplosion" do?
    A) If "destroyexplosion" is false, and an explosion even touched a portal control (Sign or button) the entire explosion is cancelled. If it is true, then the gate will be destroyed as if somebody had removed the sign/button. There is currently no way I can stop just the sign/button from being destroyed, which is why the entire explosion must be stopped.

    Q) What does "stargate.create.personal" allow players to do?
    A) If a player has stargate.create.personal, they can create Stargates that have the network name set as their username, or a substring thereof (The maximum length of a network is 11 characters, so I had to substr the name). This allows a specific group to be able to create their own personal Stargate network. This network will not interfere with any other Stargate networks as everything is stored separately in memory.

    Q) Why is PlayerB getting "Access Denied" when trying to go through a gate PlayerA opened?
    A) Only one user can use a stargate at a time, if PlayerA sets the sign, nobody else can hit the button. If PlayerA sets the sign/hits the button, nobody else can walk through the gate. Always-Open Fixed Gates are an exception, as they have no "Active User".

    Q) What does this error mean "[WARNING] [Stargate] Missing destination point in .gate file nethergate.gate"?
    A) This error means there is no destination point in your .gate file, please read the section on custom gate layouts.

    Q) Why can't I use "/sg reload"?
    A) This command is only usable from the console, and will stay that way.

    Q) Can you add command X?
    A) No, the only command this plugin will ever have is /sg reload, and that's a console-only command.

    Q) Why do I get kicked with the message "You moved too quickly!(Hacking?)" when I use a gate?
    A) Stargate is not compatible with iZone.

    Q) I gave my users '' and '' but they can't use gates, why not?
    A) If you are using Permissions 2.x/3.x please use '*' and '*' respectively. This is a difference in how Permissions and SuperPerms are implemented.

    Q) My permissions aren't working properly, help!
    A) Turn on both debug and permdebug, you will get a LOT of output when using gates. First of all, try to determine the issue yourself based on this output. If all else fails, and only if all else fails, post your log and ask for me to resolve the issue for you.

    Q) The Russian lang pack isn't showing ingame, why not?
    A) You need to have a client mod to get russian characters in-game, same with any non-ANSI characters. Please Google for this as I don't know how to install them.

    Q) How do I enable debug mode?
    A) Add the following to your config.yml:
    debug: true
    permdebug: true

    [Version 0.6.10]
    - Added Register support as opposed to iConomy
    [Version 0.6.9]
    - Added UTF-8 support (With or without BOM)
    [Version 0.6.8]
    - Fixed unmanned carts losing velocity through gates
    - /sg reload now properly switches languages
    [Version 0.6.7]
    - Added lang option
    - Removed language debug output
    - Added German language (lang=de) -- Thanks EduardBaer
    [Version 0.6.6]
    - Added %cost% and %portal% to all eco* messages
    - Fixed an issue when creating a gate on a network you don't have access to
    - I can't spell
    [Version 0.6.5]
    - Moved printed message config to a seperate file
    - Added permdebug option
    - Hopefully fix path issues some people were having
    - Fixed iConomy creation cost
    - Added 'S'how option for Always-On gates
    - Added 'stargate.create.gate' permissions
    [Version 0.6.4]
    - Fixed iConomy handling
    [Version 0.6.3]
    - Fixed (Not Connected) showing on inter-world gate loading
    - Added the ability to negate Network/World permissions (Use, Create and Destroy)
    - Fixed Lockette compatibility
    - More stringent verification checks
    [Version 0.6.2]
    - Fixed an issue with private gates
    - Added default permissions
    [Version 0.6.1]
    - Stop destruction of open gates on startup
    [Version 0.6.0]
    - Completely re-wrote Permission handling (REREAD/REDO YOUR PERMISSIONS!!!!!!!!)
    - Added custom Stargate events (See Stargate-DHD code for use)
    - Fixed portal event cancellation
    - Umm... Lots of other small things.
    - I really hope I didn't screw anything up ^.^
    [Version 0.5.5]
    - Added 'B'ackwards option
    - Fixed opening of gates with a fixed gate as a destination
    - Added block metadata support to gates
    [Version 0.5.1]
    - Take into account world/network restrictions for Vehicles
    - Properly teleport empty vehicles between worlds
    - Properly teleport StoreageMinecarts between worlds
    - Take into account vehicle type when teleporting
    [Version 0.5.0]
    - Updated the teleport method
    - Remove always-open gates from lists
    - Hopefully stop Stargate and Nether interference
    Previous Changes (open)

    [Version 0.4.9]
    - Left-click to scroll signs up
    - Show "(Not Connected)" on fixed-gates with a non-existant destination
    - Added "maxgates" option
    - Removed debug message
    - Started work on disabling damage for lava gates, too much work to finish with the current implementation of EntityDamageByBlock
    [Version 0.4.8]
    - Added chargefreedestination option
    - Added freegatesgreen option
    [Version 0.4.7]
    - Added debug option
    - Fixed gates will now show in the list of gates they link to.
    - iConomy no longer touched if not enabled in config
    [Version 0.4.6]
    - Fixed a bug in iConomy handling.
    [Version 0.4.5]
    - Owner of gate now isn't charged for use if target is owner
    - Updated for iConomy 5.x
    - Fixed random iConomy bugs
    [Version 0.4.4]
    - Added a check for*/* on gate creation
    - Check for*/* on gate entrance
    - Warp player outside of gate on access denied
    [Version 0.4.3]
    - Made some errors more user-friendly
    - Properly take into account portal-closed material
    [Version 0.4.2]
    - Gates can't be created on existing gate blocks
    [Version 0.4.1]
    - Sign option permissions
    - Per-gate iconomy target
    - /sg reload command
    - Other misc fixes
    [Version 0.4.0]
    - Carts with no player can now go through gates.
    - You can set gates to send their cost to their owner.
    - Cleaned up the iConomy code a bit, messages should only be shown on actual deduction now.
    - Created separate '{use/create/destroy}' permissions.
    [Version 0.3.5]
    - Added '*' permissions
    - Added '*' permissions
    - Added 'networkfilter' config option
    - Added 'worldfilter' config option
    [Version 0.3.4]
    - Added '' permission
    - Added iConomy cost into .gate files
    [Version 0.3.3]
    - Moved sign updating into a scheduled task, this fixes the sign bugs.
    [Version 0.3.2]
    - Updated to latest RB
    - Implemented proper vehicle handling
    - Added iConomy to vehicle handling
    - Changed how blox hash is generated, fixes multi-world
    [Version 0.3.1]
    - Changed version numbering.
    - Changed how plugins are hooked into.
    [Version 0.30]
    - Fixed a bug in iConomy checking.
    [Version 0.29]
    - Added iConomy support. iConomy 4.4 or 4.5
    [Version 0.28]
    - Fixed an issue with removing stargates during load
    [Version 0.27]
    - Fixed portal count on load
    [Version 0.26]
    - Added stargate.create.personal for personal stargate networks
    - Fixed a bug with destroying stargates by removing sign/button
    [Version 0.25]
    - Fixed a bug with worlds in subfolders
    - Fixed gates being destroyed with explosions
    - Added stargate.destroy.owner
    [Version 0.24]
    - Fixed a loading bug in which invalid gates caused file truncation - Thanks @ Jonbas
    [Version 0.23]
    - Added a check to make sure "nethergate.gate" exists, otherwise create it
    [Version 0.22]
    - Fixed multi-world stargates causing an NPE
    [Version 0.21]
    - Code cleanup
    - Added a few more errors when a gate can't be loaded
    - Hopefully fixed path issue on some Linux installs
    [Version 0.20]
    - Added more null checks, hopefully fix some errors with other plugins.
    [Version 0.19]
    - Set button facing on new gates, fixes weirdass button glitch
    - Beginning of very buggy multi-world support
    [Version 0.18]
    - Small permissions handling update.
    [Version 0.17]
    - No longer treat GM as a special case, just load it as Permissions 2.0 like the author intended
    [Version 0.16]
    - Fixed Permissions, will work with GroupManager, Permissions 2.0, or Permissions 2.1
    - Left-clicking to activate a stargate works again
    [Version 0.15]
    - Built against b53jnks -- As such nothing lower is supported at the moment.
    - Moved gate destruction code to onBlockBreak since onBlockDamage no longer handles breaking blocks.
    - Removed long constructor.
    [Version 0.14]
    - Fixed infinite loop in fixed gates.
    - Fixed gate destination will not open when dialed into.
    [Version 0.13]
    - Fixed gates no longer show in destination list.
    [Version 0.12]
    - Implemented fixed destination block using * in .gate file. This is the recommended method of doing an exit point for custom gates, as the automatic method doesn't work in a lot of cases.
    - Split networks up in memory, can now use same name in different networks. As a result, fixed gates must now specify a network.
    - Added the ability to have a private gate, which only you can activate. Use the 'P' option to create.
    - Fixed but not AlwaysOn gates now open the destination gate.
    - Fixed gates now show their network. Existing fixed gates are added to the default network (Sorry! It had to be done)
    [Version 0.11]
    - Oops, b0rked something in 0.10, fixed in 0.11
    [Version 0.10]
    - Hopefully fixed the "No position found" bug.
    - If dest > origin, any blocks past origin.size will drop you at dest[0]
    - Switched to scheduler instead of our own thread for closing gates and deactivating signs
    - No longer depend on Permissions, use it as an option. isOp() used as defaults.
    [Version 0.09]
    - Gates can now be any shape
    [Version 0.08]
    - Gates can now consist of any material.
    - You can left or right click the button to open a gate
    - Gates are now initialized on sign placement, not more right clicking!
    [Version 0.07]
    - Fixed where the default gate is saved to.
    [Version 0.06]
    - Forgot to make gates load from new location, oops
    [Version 0.05]
    - Moved Stargate files into the plugins/Stargate/ folder
    - Added migration code so old gates/portals are ported to new folder structure
    - Create default config.yml if it doesn't exist
    - Fixed removing a gate, it is now completely removed
    [Version 0.04]
    - Updated to multi-world Bukkit
    [Version 0.03]
    - Changed package to net.TheDgtl.*
    - Everything now uses Blox instead of Block objects
    - Started on vehicle code, but it's still buggy
  2. Offline


    Just pushed 0.20 on the _mw link, hopefully that fixes the bugs with things like lockette. I tried them with the old version and got no errors so it's hard to test.
  3. Offline


    Permissions 2.5.x and Stargate works for me.
  4. Offline


    this works for 493 thank you very much,but how do I determine how much money in iconomy they lose or use to use this?

    edit- also apparently I can only create 3 gates under the same network name?
  5. Offline


    There is no Iconomy support yet. And i'm not sure for the second one sorry :(
  6. Offline


    A network is unlimited, my server has a network of about 15 gates, with about 4 or 5 other networks of 3 or 4 gates each.
    I tested with Perm 2.5.2 and it works perfectly.
    And there is no iConomy support.
  7. Offline


    I thought there use to be, would be nice to have a option where you can configure how much it would cost for a certain group to use the gate.

    I found out the problem and yes I have almost 8 gates on 1 network it was my fault apparently the names can't be too long as well as you can't have ['] in it anywhere, anyway thanks though hopefully you can try and put in my above request,im sure people would like that.
  8. Offline


    Many people have requested it, and as I have said before, it's low on the priority list.
  9. Offline


    Hi !

    1st post on this board :D

    I just started to set my own dedicated server and after almost a week i try now to add plugin on it. One of the first my users was asking about was something like Stargate and your's work like a charm whith CB493 and Permissions2.5.3 (i still not get iConomy but i will take it later ;) )

    I just figure, on this thread, we can set the portal form... I've tryed to edit the nethergate.gate unsucessfully. Each time i reboot my server, the nethergate.gate come back to the default one. Did i miss something ?

    Also, i see you'r plugin should be multiworld: It dosn't work !


    No seriously, i've maybe misunderstood something (i'm french with a poor english skill :D) but i'm not able to get a Nether portal. I've checked my server log and a Nether spawn area was created + a Nether folder too.

    So same question... Did i miss something about the nether ? Shoul'd i build a portal in a specific way ?

    Hope i will not abuse of you'r time... And once again, Thx for this awesome plugin !
  10. Offline


    If you want to make a custom .gate file, make a copy of nethergate.gate, don't edit that file itself.
    And to make a gate to the nether you have to first create a second world with a plugin like MultiVerse, then warp to that world and create a gate like normal. This plugin doesn't implement the standard Minecraft nether portals where one is auto-created for you. It just supports warping between two stargates in different worlds.
  11. Offline


    Work great ! Thank so much :p

    Btw at first attempt to create a gate, the sign poped on gate, but the button not... I reloaded the SG plugin aaaaand.. Tada it's work !

    I gonna have a long night :p

    PS: Maybe you can add those information to the first post for other novice who want to install you'r plugin ? (Exept if it was a stupid question ^^)

    Edit: Hmmm absolutly no problem in the Nether>world way
    But but World>Nether tend to be buggy... No "warp" but the dial works

    Also Sometime i got an "invalid gate" error in the World>Nether way
    (I actualy use default portal shape)
  12. Offline



    Please support the auto-updating plugin CraftBukkitUpToDate. To do so please provide a permanent direct link to the author of CraftBukkitUpToDate.

    The below is information they provide
    Show Spoiler

    My Plugin didn't supported, how i get it to work with CButD?
    Give me a permanent link to your Plugin, i will add it. That's all no changes at your SourceCode or something else, all I need is a permanent link to the newest version of your Plugin. A good place for this is or for OpenSource

    I really enjoy using your plugin and would like to see it work well with the above listed 'updater' plugin.
  13. Offline


    Interesting, when I'm attempting to build a third gate on the network I get this on occasion:

    I'm using Stargate 0.20 and Permissions 2.5.4
  14. Offline


    @dslip I don't plan on adding support for any auto-updating at this time as the plugin is far too unstable.
    @ZacksKappler Make sure you're running actual version 0.20. There is no way that specific line could NPE in 0.20. The stargate.jar is 0.17, stargate_mw.jar is 0.20
  15. Offline


    Drakia, will the download location for the .jar remain the same (

    If so, that is all that is required to support the 'auto-update' feature. It doesnt do anything really other than check the realease date / time on the file and download it (to a seperate folder, not over your /plugins folder)

    Just makes it easy for me to keep on top of the 65+ plugins im using.
  16. Offline


    There's no guarantee of that, especially considering right now the latest version is and not the URL you provided. There is always the chance I will change the URL when I think there's a chance things will go sideways, or when I just want to release an update but keep the old version available.
    As I said, I don't plan on requesting that my plugin be supported in that updater.
    Uploaded Version 0.21
    - Code cleanup
    - Added a few more errors when a gate can't be loaded
    - Hopefully fixed path issue on some Linux installs
  17. Offline


    This excellent addon needs native support of Permission 2.5.4 [​IMG]
  18. Offline


    CraftBukkit: 527 (happened on earlier builds as well)
    Stargate_mw : 21 (happened on 20 as well)

    When starting the server, I receive
    05:25:27 [SEVERE] Exception while reading stargates from plugins/Stargate_mw/portals: 1
    05:25:27 [SEVERE] java.lang.NullPointerException
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.block.CraftSign.<init>(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.block.CraftBlock.getState(
    05:25:27 [SEVERE]       at net.TheDgtl.Stargate.Portal.loadAllGates(
    05:25:27 [SEVERE]       at net.TheDgtl.Stargate.Stargate$wListener.onWorldLoaded(
    05:25:27 [SEVERE]       at$37.execute(
    05:25:27 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(
    05:25:27 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.addWorld(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.<init>(
    05:25:27 [SEVERE]       at net.minecraft.server.WorldServer.<init>(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.createWorld(
    05:25:27 [SEVERE]       at com.onarandombox.Rigby.MultiVerse.MultiVerse.loadWorlds(
    05:25:27 [SEVERE]       at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(
    05:25:27 [SEVERE]       at
    05:25:27 [SEVERE]       at
    05:25:27 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    05:25:27 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    05:25:27 [SEVERE]       at net.minecraft.server.MinecraftServer.e(
    05:25:27 [SEVERE]       at net.minecraft.server.MinecraftServer.a(
    05:25:27 [SEVERE]       at net.minecraft.server.MinecraftServer.d(
    05:25:27 [SEVERE]       at
    05:25:27 [SEVERE]       at
    Three times (I have four worlds).
    contents of world.db (if it helps):
    Main World:-227,65,38:-224,65,38:1:0:180.0:-224,67,39:nethergate.gate::Worlds:godsyn:false:false:false:world
    Once loaded, all seems fine.
  19. Offline


    As you wish of course, please reconsider, asking the updater plugin to change url once in a while doesnt seem an issue
  20. Offline


    @godsyn What plugin are you using to load worlds? And could you post the Stargate .db files for all of your worlds?
  21. Offline


    Hmm... I've tried building a gate on a different world, by creating a new world ( modifying the level-name=other_world ), and creating the new gate... but It doesn't show the gates of the first world...

    Am I doing it wrong ? =/
  22. Offline


    You can't just make a new world in the You have to use a multi-world plugin like multiverse or the nether feature of essentials to integrate a new world in your game.
  23. Offline


    05:25:27 [INFO] [MultiVerse] - Version 1.5
    If I should use another, please let me know.
    nether.db  oldworld.db  pvpworld.db  world.db
    cat nether.db
    cat oldworld.db
    Old World:-54,66,-41:-54,66,-44:0:-1:90.0:-53,68,-44:nethergate.gate::Worlds:godsyn:false:false:false:oldworld
     Vault 42:181,59,-151:184,59,-151:1:0:180.0:184,61,-150:nethergate.gate::oldworld:godsyn:false:false:false:oldworld
     Portal 3:-143,40,-28:-143,40,-25:0:1:270.0:-144,42,-25:nethergate.gate:Vault 42:oldworld:godsyn:false:false:false:oldworld
     Portal 1:-143,40,-20:-143,40,-17:0:1:270.0:-144,42,-17:nethergate.gate:Spawn:oldworld:godsyn:false:false:false:oldworld
     Portal 2:-143,40,-24:-143,40,-21:0:1:270.0:-144,42,-21:nethergate.gate:Castle:oldworld:godsyn:false:false:false:oldworld
     Portal Hall:-121,40,-30:-121,40,-33:0:-1:90.0:-120,42,-33:nethergate.gate::oldworld:godsyn:false:false:false:oldworld
     Castle:-103,70,-21:-106,70,-21:-1:0:0.0:-106,72,-22:nethergate.gate:Portal Hall:oldworld:godsyn:false:false:false:oldworld
     Dorf Fort:341,71,-873:338,71,-873:-1:0:0.0:338,73,-874:nethergate.gate::oldworld:godsyn:false:false:false:oldworld
     Portal 4:-143,40,-33:-143,40,-30:0:1:270.0:-144,42,-30:nethergate.gate:Dorf Fort:oldworld:godsyn:false:false:false:oldworld
     A2 W1:62,70,-606:59,70,-606:-1:0:0.0:59,72,-607:nethergate.gate::Diablo:godsyn:false:false:false:oldworld
     A1 W1:-526,68,186:-529,68,186:-1:0:0.0:-529,70,185:nethergate.gate::Diablo:godsyn:false:false:false:oldworld
     Portal 5:-143,40,-37:-143,40,-34:0:1:270.0:-144,42,-34:nethergate.gate:Village:oldworld:godsyn:false:false:false:oldworld
     Portal 6:-143,40,-41:-143,40,-38:0:1:270.0:-144,42,-38:nethergate.gate:Temple:oldworld:godsyn:false:false:false:oldworld
     Portal 10:-137,40,-33:-137,40,-30:0:1:270.0:-138,42,-30:nethergate.gate:DB Manor:oldworld:godsyn:false:false:false:oldworld
     DB Manor:378,115,446:378,115,443:0:-1:90.0:379,117,443:nethergate.gate::oldworld:godsyn:false:false:false:oldworld
    cat pvpworld.db
    cat world.db

    Main World:-227,65,38:-224,65,38:1:0:180.0:-224,67,39:nethergate.gate::Worlds:godsyn:false:false:false:world
  24. Offline


    Yay, it works perfectly ! ( installed MultiVerse )

    I love the Stargate plugin ! [​IMG]
  25. Offline


    Using v0.21 on CB b527, everything seems to be working fine but I get some weird errors on server start:
    2011-03-10 17:53:53 [SEVERE] Exception while reading stargates from plugins/Stargate_mw/portals: 1
    2011-03-10 17:53:53 [SEVERE] java.lang.NullPointerException
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.block.CraftSign.<init>(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.block.CraftBlock.getState(
    2011-03-10 17:53:53 [SEVERE]    at net.TheDgtl.Stargate.Portal.loadAllGates(
    2011-03-10 17:53:53 [SEVERE]    at net.TheDgtl.Stargate.Stargate$wListener.onWorldLoaded(
    2011-03-10 17:53:53 [SEVERE]    at$37.execute(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.addWorld(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.CraftWorld.<init>(
    2011-03-10 17:53:53 [SEVERE]    at net.minecraft.server.WorldServer.<init>(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.createWorld(
    2011-03-10 17:53:53 [SEVERE]    at com.onarandombox.Rigby.MultiVerse.MultiVerse.loadWorlds(
    2011-03-10 17:53:53 [SEVERE]    at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(
    2011-03-10 17:53:53 [SEVERE]    at
    2011-03-10 17:53:53 [SEVERE]    at
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-03-10 17:53:53 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-03-10 17:53:53 [SEVERE]    at net.minecraft.server.MinecraftServer.e(
    2011-03-10 17:53:53 [SEVERE]    at net.minecraft.server.MinecraftServer.a(
    2011-03-10 17:53:53 [SEVERE]    at net.minecraft.server.MinecraftServer.d(
    2011-03-10 17:53:53 [SEVERE]    at
    2011-03-10 17:53:53 [SEVERE]    at
    2011-03-10 17:53:53 [INFO] Activated world 'nether' in Dynmap.
    2011-03-10 17:53:54 [INFO] [MultiInv] Detected nether. Reloading shares.txt
    2011-03-10 17:53:54 [INFO] [MultiInv] Shared worlds loaded succesfully
    2011-03-10 17:53:54 [INFO] [Stargate] {nether} Loaded 1 stargates with 0 set as always-on
    2011-03-10 17:53:54 [INFO] Activated world 'nether' in Dynmap.
    2011-03-10 17:53:54 [INFO] [MultiVerse] Loading World & Settings - 'survival' - NORMAL
    2011-03-10 17:53:54 [INFO] [MultiVerse] Loading World & Settings - 'creative' - NORMAL
    2011-03-10 17:53:54 [INFO] [MultiInv] Detected creative. Reloading shares.txt
    2011-03-10 17:53:54 [INFO] [MultiInv] Shared worlds loaded succesfully
    2011-03-10 17:53:54 [SEVERE] Exception while reading stargates from plugins/Stargate_mw/portals: 1
    2011-03-10 17:53:54 [SEVERE] java.lang.NullPointerException
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.block.CraftSign.<init>(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.block.CraftBlock.getState(
    2011-03-10 17:53:54 [SEVERE]    at net.TheDgtl.Stargate.Portal.loadAllGates(
    2011-03-10 17:53:54 [SEVERE]    at net.TheDgtl.Stargate.Stargate$wListener.onWorldLoaded(
    2011-03-10 17:53:54 [SEVERE]    at$37.execute(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.addWorld(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.CraftWorld.<init>(
    2011-03-10 17:53:54 [SEVERE]    at net.minecraft.server.WorldServer.<init>(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.createWorld(
    2011-03-10 17:53:54 [SEVERE]    at com.onarandombox.Rigby.MultiVerse.MultiVerse.loadWorlds(
    2011-03-10 17:53:54 [SEVERE]    at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(
    2011-03-10 17:53:54 [SEVERE]    at
    2011-03-10 17:53:54 [SEVERE]    at
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    2011-03-10 17:53:54 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    2011-03-10 17:53:54 [SEVERE]    at net.minecraft.server.MinecraftServer.e(
    2011-03-10 17:53:54 [SEVERE]    at net.minecraft.server.MinecraftServer.a(
    2011-03-10 17:53:54 [SEVERE]    at net.minecraft.server.MinecraftServer.d(
    2011-03-10 17:53:54 [SEVERE]    at
    2011-03-10 17:53:54 [SEVERE]    at
    2011-03-10 17:53:54 [INFO] Activated world 'creative' in Dynmap.
    I noticed it looks related to MultiVerse but since Stargate requires MultiVerse for multi world to work I thought it was worth posting about it here.
  26. Offline


    CB #493
    and StarGate 0.20 aren't working for me :/

    Database converted over fine though (from hmod to bukkit)
  27. Offline


    What do you mean "native support"? It support Permissions 2.x
    However when 3.x comes out he's going to kill all of my plugins because he is changing how he handles version numbers.
  28. Offline


    nvm Drakia, i did update from your post (Stargate_mw.jar) and now SG plug with Perm 2.5.4 loads up perfectly :)
  29. Offline


    Fixed the multi-world load errors in the version I just uploaded :) It seems onWorldLoaded was called twice, the first time the world wasn't _actually_ loaded.
  30. Offline

    Bill Warner

    started getting this error when creating a gate. do i need to update to 0.22mw?

    craftbukkit 531
    stargate 0.17

    Edit: Interestingly this is only happening on one particular portal. I am able to make others???
    17:05:29 [SEVERE] Could not pass event SIGN_CHANGE to Stargate
            at net.TheDgtl.Stargate.SignPost.getParent(
            at net.TheDgtl.Stargate.Portal.createPortal(
            at net.TheDgtl.Stargate.Stargate$bListener.onSignChange(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet130UpdateSign.a(SourceFile:39)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(
  31. Offline


    Yes, that error was fixed in 0.18 or 0.19 I think, so just update to the MW version
Thread Status:
Not open for further replies.

Share This Page