Inactive [GEN/TP] MultiHome v0.4.1 - A home per world [1060]

Discussion in 'Inactive/Unsupported Plugins' started by oliverw92, Apr 21, 2011.

  1. Offline

    oliverw92

    MultiHome - Never move home again!
    [​IMG] Download v0.4.1 [1060]

    [​IMG]

    Have you ever been in the nether world and wished you could have a home in there as well in your main world? MultiHome gives you the ability to have a unique home per world.

    Features
    • One home per world per person
    • Usage is the same as most other home plugins: /home set | /home
    • Whatever world you are in when you type /home, you will be taken to
    • Uses Bukkit Persistence (MySQL/SQLite - your choice) for home storage
    • Supports Permissions
    Requirements
    • Bukkit Persistence configured in bukkit.yml
    • If using MySQL for Persistence, you need a MySQL database
    • Permissions
    Installation
    Installation (open)

    Please follow these steps in setting up HelloWorld for your server
    1. Download HelloWorld.jar from the top of this post
    2. Place HelloWorld.jar in your plugins/ folder
    3. Configure bukkit.yml using the instructions below

    MySQL Configuration
    Configuration (open)

    If you have already got your Bukkit Persistence (bukkit.yml) set up you DO NOT NEED DO THIS! Other plugins that use Persistence are DataLog, Lists and Socials! - there will soon be more.

    All of this is configured in the bukkit.yml file which is in the root directory of your bukkit instalation

    Bukkit Persistence is a data storage system build into Bukkit. It is effectively a wrapper for accessing either SQLite or MySQL. It will soon be adopted by loads of other plugins once it becomes more 'official'. For you the server owner/tech guy you have two options:

    SQLite
    SQLite is a 'local database' - you do not need a database server set up or anything, it just stores it locally on your computer. In the case of Bukkit Persistence, it stores it in plugins/MultiHome/ in a .db file. If you have not configured bukkit.yml before, it will default to SQLite and you do not need to change a single thing

    MySQL
    MySQL is a more 'permanent' database storage system - it is much MUCH faster and more efficient that SQLite but requires its own dedicated installation and the MySQL 'server' needs to be running all the time. You can get a program called WAMP that gives you a pre-configured MySQL setup along with PHP and Apache here: http://www.wampserver.com/en/

    If you choose to use MySQL you need to configure your bukkit.yml file as follows:
    Code:
    database:
        username: root                                                          #Change this to your MySQL username
        isolation: SERIALIZABLE                                            #Don't change this
        driver: com.mysql.jdbc.Driver                                 #Make sure driver is set to this to use MySQL
        password: 'hello'                                                        #Your MySQL password - if you don't have one, leave it as ''
        url: jdbc:mysql://localhost:3306/minecraft          #Database URL: [i]localhost[/i] - your MySQL location
                                                                                              #                            [i]3306[/i] - MySQL server port - almost always 3306
                                                                                              #                            [i]minecraft[/i] - Name of the database to keep your data in
    

    Config.yml
    config.yml (open)

    This is contained in plugins/MultiHome/config.yml. There is only one group of settings at the moment - world aliases. The server auto-creates this file and adds as many homes as are loaded at the time of server start as possible. You can then add your other worlds to it. World aliases are used when doing something like /home <world> - say you have an undersirable world name like creativeworld4, you can use world aliases to change it to something simple like creative for use in MultiHome commands. When the plugin creates the file it will look something like this:
    Code:
    aliases:
        world: world
    
    You can then customise it and add in your custom worlds like this:
    Code:
    aliases:
        atrium1: atrium
        survival1: survival
        build4: build
        pvp3: pvp
        nether1: nether
    

    Usage
    Usage (open)

    • /home help -> List command information for MultiHome
    • /home set -> Set home in the current world you are in
    • /home list -> List all your homes and their locations
    • /home player <player> [world] -> Go to another players home
    • /home <world> -> Go to your home in another world
    • /home -> Go to the home you have set in the world you are in

    Permission Nodes
    Permission Nodes (open)

    Code:
    multihome.home      ->      Access to /home set, /home help and /home
    multihome.admin    ->      Access to /home player
    


    Changelog

    Version: v0.4.1 [819]
    • Added DataLog support
    Version: v0.4 [670-819]
    • Added /home <world>
    • Added /home player <player> <world>
    • Added config file
    Version: v0.3 [670-714]

    • Fixed null pointer
    • Fixed homes not overwriting
    • Added /home list command
    Version: v0.2.1 [670-714]

    • Fixed the fix of Permissions error
    Version: v0.2 [670-707]

    • Fixed Permissions error
    Version: v0.1 [684]

    • Initial Release
    Future Features
    • None, suggest some!
    Plugin originally created for MinecraftCC.com
     
  2. Offline

    fffizzz

    any chance of adding a warmup and cooldown, world specific?
     
  3. Offline

    oliverw92

    Nope sorry. I'm not actively developing this any more.
     
  4. Offline

    EarlyLegend

    Looks good but it says "HelloWorld.jar" in the installation instructions spoiler:
    Lol might want to sort that out ;)
     
  5. Offline

    Strebelschneck

    heya, are you going to update your plugin for mc 1.0? It's still the only plugin with one home per world if im not mistaken. Or can you recommend any other?
     
  6. Offline

    oliverw92

    It works fine in 1.0
     
  7. Offline

    Alexi Kantelus

    This plugin works fine, can you add warmup/cooldown, then this would be awesome! :)
    Ohh just saw tht ur not anymore developing this :s
     
  8. Offline

    fffizzz

    This plugin doesnt seem to trigger an on world change event, so when using MultiInv/WorldInventories, inventories carry over when they shouldnt. Any chance of an update?
     
  9. Offline

    gogorot

    updated to work with the new events system
    source on github
    download

    tested on bukkit 1.2.3 R0.1-#2034, should work on later releases as well
     
  10. Offline

    tincopper2

    Bad link.
     
  11. Offline

    gogorot

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 14, 2016
  12. Offline

    sem785

    WHat does it mean when it says: ''An internal error occurred while attempting to perform this command'' I'm really new to this... So any ideas?
     
  13. Offline

    Giuseppe

    Code:
    2012-05-07 02:58:04 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'home' in plugin MultiHome v0.4.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
        at uk.co.oliwali.MultiHome.MultiHome.onCommand(MultiHome.java:68)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
     
  14. Offline

    skyfox711

    If i launch my server with groupmanager, and filled in my permission nodes, my players can't use /sethome or /sethome. :(
    Can somebody plz help me...
     

Share This Page