[INACTIVE][FUN] TownySpout v0.4.1 -- Bringing Spout to Towny [SPOUT] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by croxis, Aug 4, 2011.

  1. Offline

    croxis

    TownySpout - Bringing Spout to Towny:

    This plugin is now inactive. There is another Towny-like plugin in development that I am switching to develop for. If anyone wishes to continue this project they are more than welcome to!


    Version: v0.4.1

    Note: For the next two weeks I am coaching a local high school marching band. These are 13 hour days and my availability will be very, very limited.

    Note2: One week of band camp done! I did the best I could to get some of the bug fixes out of the way and update to Towny 0.75.1 and Spout 1.0.5.

    This plugin brings the advanced functionality of Spout to Towny. Current features are limited to some fluff for the Spout client mod (town anthems, capes, etc) as well as a rich UI for the complicated Towny command interface.

    Towny needs additional code for custom events in order for TownySpout to work. Until my work on this is "finished" you are REQUIRED to use A CUSTOM version of Towny. Unfortunately the Towny developers are using SVN instead of git, so trivial pull requests are not possible. My version of towny also uses Register as well as MySQL.

    Current TownySpout Features:
    • Changes overhead titles to include nation and town names
    • Mayors and assistants can set town anthems that are played when a person enters a town. This applies to town texture packs as well.
    • Town capes for all members of a town.
    • Town texturepacks to create a unified look to the town.
    • Permission GUI for town mayors and assistants to adjust town permissions.
    • National anthems, capes, textures
    • Resident anthems and capes
    Planned Features:
    • GUI to replace all Towny commands
    Screenshot of current interface.

    [​IMG]


    Reporting Bugs and Feature Requests

    Report Experimental Towny Bugs here. Please do not report bugs to the other towny developers. They don't like me.

    Report TownySpout bugs and feature requests here.

    Update Experimental Towny
    SQL support is temporally discontinued. Before updating please run Towny 0.74.e3 with load-database=bukkit and save-database=flatfile. Then update to 0.75.1.ex.

    Update TownySpout
    From 0.2: Townyspout no longer requires mysql. It does require you to update experimental towny. You will need to drop the townyspout_towns table when upgrading. My apologies for the inconvenience, next time I will make the upgrade path smoother.

    Installation Instructions
    1. Download Experimental Towny (0.75.1.e1) (Source). Follow these instructions. Stop the server once completed.
    2. Download and Install Spout and SpoutClient.
    3. Download TownySpout (Source). No configuration needed.
    Commands
    • /townyadminx set <music/cape/texture> name url -- Adds music, cape, or texture pack to the database for towns to use. The name is the name town mayors will use, url is the publicly accessible url to that item.
    • /townyadminx wildset <music/cape/texture> name -- Adds music, cape, or texture pack for non town members.
    • /townx set music [name] -- Sets town anthem to the song name, as defined by the configuration. Leave name blank to remove.
    • /townx set cape [name] -- Sets town cape to the cape name, as defined by the configuration. Leave name blank to remove.
    • /townx set texture [name] -- Sets town texture pack to the texture name, as defined by the configuration. Leave name blank to remove.
    • /townx -- Access the GUI
    • /nationx set <music/cape/texture> [name] -- See townx, applies to towns
    • /residentx set <music/cape> [name] -- See townx, applies to personal plots
    Towny Event API
    Pseudo documentation


    Known Bugs
    Experimental Towny
    • There is currently no support for custom titles, surnames, and disabling player and creature stomping. As soon as I find a sane way to update the database I will add those features in.
    Changelog:
    Version 0.4.1
    • Updated to Spout 1.0.5
    • Reformatted Town GUI to improve readability. Some loss of functionality (the pvp/fire/mob buttons).
    • Tested on Towny 0.75.1.e1, but should continue to work with 0.74.e3
    Version 0.4
    • Added music/cape/texture for wild and non-town members
    • Added music/cape/texture for nations
    • Added music/cape for personal residences
    • Music/cape/textures are applied top down. Personal residences override town settings, and residence and town settings override national ones.
    • Requires Towny 0.74 Experimental Build 2
    Version 0.3
    • Added permission gui for towns
    • Dropped mysql requirement.
    Version 0.2
    • Added file nodes instead of arbitrary urls and commands to add them
    • Added town cape support
    • Added town texturepack support
    Version 0.1
    • Initial Release
     
  2. Offline

    croxis

    This plugin is now depreciated and inactive. There is another Towny-like plugin in the pipeline that I am really excited for and going to switch to developing that instead. If anyone else wishes to continue this project they are more than welcome to.
     
  3. Offline

    larsy1995

    What's its name?
     
  4. Offline

    croxis

    It is still under very active development, so it isn't Towny-like yet. But it looks like it is going to be a fantastic platform to develop for.
     
  5. Offline

    larsy1995

    I agree, that could really become a towny competitor. It sounds great! Maybe there could finally be made a towny-like plugin with factions built in(since that would attract alot of players a way from towny I think)? Anyhow, that plugin has potential. Good luck with it!
     
  6. Offline

    croxis

    It is going to have an arbitrary group system which will allow for all sorts of things. It is going to be module based so Towns/Nations will be a module, factions can be another module, and so on.
     
  7. Offline

    necavi

    That sounds most excellent! I was thinking that at some point I might have to do major modifications to either towny or factions to get behavior similar to what you are talking about!
     
  8. Offline

    316peti

    I try to install TownySpout but it doesn't works. If i only try to strat my server with 0.75.1.ex it works well but if i copy TownySpout too i get this error:
    Code:
    2011-09-10 07:37:16 [SEVERE] ebean.properties not found
    2011-09-10 07:37:16 [SEVERE] Could not load 'plugins\TownySpout.jar' in folder 'plugins':
    java.lang.ExceptionInInitializerError
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:176)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:107)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
        at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:114)
        at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:57)
        ... 10 more
    Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
        at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107)
        at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94)
        at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFactory.java:112)
        ... 11 more
    Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\PĂ©ter\AppData\Roaming\.minecraft server\craftbukkit-0.0.1-SNAPSHOT.jar (A rendszer nem találja a megadott elérési utat)
        at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:121)
        at com.avaje.ebeaninternal.server.core.XmlConfigLoader.load(XmlConfigLoader.java:78)
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.<init>(DefaultServerFactory.java:91)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:104)
        ... 13 more
    Caused by: java.io.FileNotFoundException: C:\Users\PĂ©ter\AppData\Roaming\.minecraft server\craftbukkit-0.0.1-SNAPSHOT.jar (A rendszer nem találja a megadott elérési utat)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at com.avaje.ebeaninternal.server.core.XmlConfigLoader.checkJar(XmlConfigLoader.java:176)
        at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigLoader.java:110)
        ... 22 more
    
    If i start the server from other computer i get only this:
    Code:
    [SEVERE] Error occurred while enabling Towny v0.75.1 (Is it up to date?): null
    java.lang.NullPointerException
        at com.palmergames.bukkit.towny.Towny.SetWorldFlags(Towny.java:182)
        at com.palmergames.bukkit.towny.Towny.load(Towny.java:300)
        at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:115)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:175)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:158)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-10 08:17:55 [SEVERE] Error occurred while enabling TownySpout v0.4.1 (Is it up to date?): com/palmergames/bukkit/towny/Towny
    java.lang.NoClassDefFoundError: com/palmergames/bukkit/towny/Towny
        at net.croxis.townyspout.TownySpout.onEnable(TownySpout.java:50)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:175)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:158)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.palmergames.bukkit.towny.Towny
        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:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
    
     
  9. Offline

    Razukie

    This needs to be updated. It's so nice..
     
  10. Offline

    Mc59

    I agree with razukie
     
  11. Offline

    Silarn

    Good luck. The author has stated in the OP that he has abandoned this for a new Towny-like project.
     
  12. Offline

    croxis

    We have quite a bit of progress on it too. Look up Chunky in bukkitdev. I'm also working on a SimpleTown plugin for Chunky I am calling tribes.
     
  13. Offline

    Monkey_nuts

    Is the SpoutCraft client NEEDED for this to run or is it just for the GUI options? will players who don't use the client still be able to use this and is does permissions bukkit work with this so that only admin's can use it?

    ++ instruction 1 Towny download link broken :(

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

    CarlosJ

    it would be awesome if you keep developement on townyspout :'(.
     
  15. Offline

    Nitrox1996

    HELP !!!!
    i want to depos money to my town but insted come"an internal error occurred whule attemting to perferm this command " please help me what shud i do ?
     

    Attached Files:

  16. Offline

    PatPeter

    Does anyone know of another implementation of Towny on Spout? All I want is a graphical extension of /towny map.
     

Share This Page