[UNSUPPORTED][MISC] Stargate-DHD v0.3.1 - A DHD addon for Stargate [1317]

Discussion in 'Inactive/Unsupported Plugins' started by Drakia, Mar 24, 2011.

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

    Drakia

    Stargate-DHD - A DHD plugin for the Stargate plugin for the Bukkit plugin for Minecraft
    Version: 0.3.1
    CraftBukkit: 1317

    Plugin Dependencies:
    Stargate v0.6.6 or newer (Required)
    Permissions (Optional)

    This plugin REQUIRES Stargate v0.6.6 or newer.
    This plugin supports both Permissions 2.x/3.x as well as SuperPerms (Via PermissionsBukkit or another SuperPerms manager)

    Download: http://thedgtl.net/bukkit/Stargate-DHD.jar
    Source: https://github.com/TheDgtl/Stargate-DHD

    =============
    Description
    =============
    This is an addon plugin for Stargate that gives the ability to create separate signs to dial a stargate.

    =============
    Permissions
    =============
    - stargate.dhd.use - Whether the player can use DHD devices.
    - stargate.dhd.create - Whether the player can create DHD devices.
    - stargate.dhd.destroy - Whether the player can destroy DHD devices.

    =============
    User Videos
    =============
    - Tutorial - Thanks @BIG_PIP_IN

    =============
    Instructions
    =============
    To create a DHD you simple create a sign (Either a wallsign or a signpost) with the following layout:
    Code:
    Line1: ::DHD::
    Line2: StargateName
    Line3: NetworkName (Optional, will default to your Stargate default network if not given)
    
    Where "StargateName" and "NetworkName" are the remote gates name and network.
    If the network is not given, it will default to the Stargate plugins default network.

    To use the DHD, you right-click on it to select the destination (The current destination will be shown on line 4, as well as on the Stargate itself). Once you have your destination chosen, left-click the sign to activate the portal.
    The DHD does the appropriate permissions, and iConomy (if enabled) checks to make sure the player activating the portal has the permissions to do so.
    An added feature of the DHD is that the activating user is not the only person who can walk through the gate, anybody can use the gate once it is active. This allows an admin to open a hidden gate for a user to access an area they normally wouldn't be able to.

    ==============
    Configuration
    ==============
    There is no configuration for this plugin.

    =============
    Changes
    =============
    [Version 0.3.1]
    - Update for Stargate 0.6.6
    [Version 0.3.0]
    - Added clearing of sign on gate deactivate/close
    - Updated to use new Stargate events
    - Updated for Stargate v0.6.0
    [Version 0.2.1]
    - DHDs can now be either wallsigns or signposts.
    [Version 0.2.0]
    - Added more output, it was confusing users.
    - Need permissions to destroy a DHD
    - Explosions no longer destroy DHDs
    - Implemented Stargate 'stargate.network.*' permissions ability
    [Version 0.1.3]
    - Fixed a sign updating issue
    [Version 0.1.2]
    - Updated to latest RB
    [Version 0.1.1]
    - Fixed an issue with where I was checking permissions. "Access Denied" on every right click is now gone.
    [Version 0.1.0]
    - Initial Release

    As this is the first release there are bound to be bugs. Post if you run into any.
    The current known bug is that the destination does not reset on a DHD, this is because the DHD is a dynamic object, it's not stored anywhere. I will be adding a timer in the next update to deactivate/clear the DHD after a timeout.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    ha11oga11o, RobZ_SD and kahlilnc like this.
  2. Offline

    ZachBora

    This looks promising. I had tried on our server the stargate plugin but people were asking what destinations were available :(
     
  3. Offline

    Drakia

    @ZachBora I have no clue what you're saying? The DHD just has access to the same destinations the sign on the gate does. There's only one line where we can place dynamic information. If you watch the Stargate sign while you interact with the DHD, you can actually see it scrolling.
     
  4. Offline

    ZachBora

    I had placed about 8 stargates but didnt tell anyone the name of the destinations. Using /dial name. With this plugin they wouldnt need to know the names.
     
  5. Offline

    Drakia

    @ZachBora OH, you were running Wormhole X-Treme? Cause Stargate doesn't require commands at all.
     
  6. Offline

    ZachBora

    ohh I got the 2 mixed up sorry :p Theres like 10 portal plugins out there...

    I still haven't found exactly what I'm looking for though.
     
  7. Drakia my friend, nice one again, testing right now.

    edit:
    Mhhh, for some reason I can cycle trough the destinations of my gate, but I don't get any response from left-clicking the DHD.
    Error report:
    Code:
    2011-03-25 11:36:38 [INFO] [DHD] Destination: Far Away
    2011-03-25 11:36:39 [SEVERE] Could not pass event BLOCK_DAMAGED to Stargate-DHD
    java.lang.NoClassDefFoundError: net/TheDgtl/Stargate/iConomyHandler
        at net.TheDgtl.StargateDHD.StargateDHD$bListener.onBlockDamage(StargateDHD.java:129)
        at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.java:269)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:358)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: net.TheDgtl.Stargate.iConomyHandler
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    2011-03-25 11:36:40 [SEVERE] Could not pass event BLOCK_DAMAGED to Stargate-DHD
    java.lang.NoClassDefFoundError: net/TheDgtl/Stargate/iConomyHandler
        at net.TheDgtl.StargateDHD.StargateDHD$bListener.onBlockDamage(StargateDHD.java:129)
        at org.bukkit.plugin.java.JavaPluginLoader$22.execute(JavaPluginLoader.java:269)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:358)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Also I have one or two questions:
    1. What about Anti-Grief plugins? Does the DHD get the block damage even trough Anti-Grief? Could Anti-Grief be the source of my problem?

    2. Could you make the text at the DHD sign look a little bit nicer? Maybe just a copy of the normal gate sign?
     
  8. Offline

    Drakia

    What version of Stargate are you running? Cause it doesn't look like it's 0.28 like it says is required.
    I can't make it any prettier, no. The first line has to be unique to my plugin ( :: DHD:: ) the second line has to be a stargate name (With no -- around it like the gate has, as DHDs are dynamic and not stored), the third line has to be a network (Again without () around it, as it's dynamic) and the fourth line is the only one open for informational purposes (Showing the currently selected destination).
     
  9. Ok, I am 100% sure that I run 0.28.
    Code:
    2011-03-25 12:27:38 [INFO] Stargate-DHD v.0.1.0 is enabled.
    2011-03-25 12:27:38 [INFO] [Stargate-DHD] Using Permissions (v2.5.4)
    2011-03-25 12:27:38 [INFO] Stargate v.0.28 is enabled.
    2011-03-25 12:27:39 [INFO] [Stargate] {world} Loaded 23 stargates with 2 set as always-on
    2011-03-25 12:27:39 [INFO] [Stargate] {faraway} Loaded 6 stargates with 2 set as always-on
    2011-03-25 12:27:39 [INFO] [Stargate] {Nether} Loaded 1 stargates with 2 set as always-on
    2011-03-25 12:27:39 [INFO] [Stargate] Using Permissions 2.5 (2.5.4) for permissions
    2011-03-25 12:27:39 [INFO] [Stargate-DHD] Using Stargate (v0.28)
    2011-03-25 12:27:39 [INFO] Done (1,332s)! For help, type "help" or "?"
    
    Ok, then the signs will stay like this. Still, very useful plugin ;)

    Odd, that it says it runs v.0.1.0, I downloaded the plugin just this morning....

    edit: redownloaded, still says v.0.1.0, nothing changed.
     
  10. Offline

    Drakia

    Weird, upload must have failed, I uploaded it again.

    And sorry, it actually requires 0.29, I forgot to update my topic title. The iConomy stuff was added in 0.29 and this depends on one of the functions I added for it.
     
  11. Ah, thanks, now it works.
     
  12. Offline

    Drakia

    Updated to build 600!
     
  13. Offline

    Alex H

    THANK YOU THANK YOU
    THANK YOU THANK YOU
    I love you so much for adding this plugin this was exactly what i wanted when i posted on the stargete thread *hug*

    EDIT
    Cant get it to work, could you post a screen-shot of an example DHD i have tried
    ::DHD::
    :: DHD ::
    : :DHD: :
    : : DHD : :

    dam program replaces colon d with that dumb face
     
  14. Offline

    blackblade

    I got the Stargate mod to work good but when I make a separate sign for a DHD it does nothing the sign isn;t even linked to the gate am I doing something wrong?
     
  15. Offline

    Drakia

    I appear to have broken sign updating o.o Give me a few minutes to figure this out.

    Uploading v0.1.3, I had the Stargate and DHD trying to update their signs in the same tick. Delayed the DHD by 2 ticks (a fraction of a second).

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

    Shinobi

    I still can't get the DHD working at all.. I make a sign with ::DHD:: on the top row, and gate names on the second line.
    Nothing pops up in chat or console.. :S
    Do I need to put the sign in a special place?
     
  17. Offline

    Drakia

    [Version 0.2.0]
    - Added more output, it was confusing users.
    - Need permissions to destroy a DHD
    - Explosions no longer destroy DHDs
    - Implemented Stargate 'stargate.network.*' permissions ability

    The new version is a lot more refined, it has proper messages for creation and destruction, integrates with the new Stargate features, etc. This new version REQUIRES Stargate v0.3.5 or newer.
     
  18. Offline

    Sunlis

    I'm unable to get these to work at all.
    I have a gate named "Gate A" on network "Main", so here's what I put on the sign:
    Code:
    ::DHD::
    Gate A
    Main
    
    
    No "created" message (if there is one), no right-click functionality. I've even explicitly given myself the permissions to create/use/destroy, even though I have '*' permissions.
     
  19. Offline

    Drakia

    I forgot to put in the first post that it must be a WALLSIGN not a sign on a post.
     
  20. Offline

    Sunlis

    Is it possible to get it working for post signs as well? Would be awesome. =D
     
  21. Offline

    Drakia

    Huzzah Update!
    [Version 0.2.1]
    - DHDs can now be either wallsigns or signposts.
     
  22. Offline

    mze9412

    Do I understand it correctly that you can connect to a different network via the DHD than the gate's usual network?

    i.e. Gate is in network central but the network on the DHDs is network admins
     
  23. Offline

    Drakia

    @mza9412 No, the DHD just allows dialing from a location further away from the gate. It doesn't bypass any of the restrictions imposed by the Stargate plugin itself.
     
  24. Offline

    Ahagen550

    Multiple network capable DHD's actually sound like a great idea. So do dialing fixed gates to other locations.
     
  25. Offline

    LordCrazyKing

    Call me a fool, but what does DHD stand for?
     
  26. Offline

    mze9412

    Dial Home Device. It's a term from the Stargate franchise. They called the dialing devices in front of the stargates that way :)

    @Drakia
    Thanks for the reply :)
     
  27. Offline

    Drakia

    Again, the DHD does not bypass any restrictions in the Stargate itself. And it's not something I plan on changing. It is purely a remote dialing sign.
     
  28. Offline

    TroySilvarant

    When i place the sign and type everything in the way it says, it just says [DHD] Invalid Stargate, and the signpost becomes blank
    for the record i've been typing
    ::DHD::
    test1
     
  29. Offline

    Drakia

    And do you have a Stargate named "test1" on the default network?
     
  30. Offline

    TroySilvarant

    No it was a brand-new gate. I thought the DHD's served as a separate placement of the signs, but it seems like i was wrong?
     
Thread Status:
Not open for further replies.

Share This Page