GithubHelp home page GithubHelp logo

multihome's Introduction

MultiHome is a plugin to allow your users to set multiple home locations, giving each location a unique name. Supports economy, warmup and cooldown, home-on-death.

This project was developed in response to other multiple-home plugins only using home numbers. By using home names, it makes it so much easier to keep track of what home goes to what location.

Authors:
	MadManMarkAu
	HereInPlainSight
	filbert66
	Sleaker

Permissions nodes:
	multihome.defaulthome.go
	multihome.defaulthome.set
	multihome.defaulthome.delete
	multihome.defaulthome.invite
	multihome.defaulthome.invitetimed
	multihome.defaulthome.uninvite
	
	multihome.namedhome.go
	multihome.namedhome.set
	multihome.namedhome.delete
	multihome.namedhome.list
	multihome.namedhome.invite
	multihome.namedhome.invitetimed
	multihome.namedhome.uninvite
	
	multihome.othershome.go
	multihome.othershome.set
	multihome.othershome.delete
	multihome.othershome.list
	
	multihome.free.defaulthome.go
	multihome.free.defaulthome.set
	multihome.free.namedhome.go
	multihome.free.namedhome.set
	multihome.free.othershome.go
	
	multihome.listinvites.tome
	multihome.listinvites.toothers
	
	multihome.ignore.cooldown
	multihome.ignore.warmup

MySQL database table format:
	CREATE TABLE `homes` (
		`id` int(11) NOT NULL AUTO_INCREMENT,
		`owner` varchar(50) NOT NULL,
		`home` varchar(50) NOT NULL,
		`world` varchar(50) NOT NULL,
		`x` double NOT NULL,
		`y` double NOT NULL,
		`z` double NOT NULL,
		`pitch` float NOT NULL,
		`yaw` float NOT NULL,
		PRIMARY KEY (`id`)
	)
	

multihome's People

Contributors

hereinplainsight avatar madmanmarkau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

multihome's Issues

Cooldowns don't expire

Was playing around with current MultiHome jar and noticed that, if cooldown is used, after the player has an entry in the cooldown flatfile, the counter will count down to 1 and stay there. They will never be able to /home again.

This appears to be because the CoolDownManager's removeCooldown method is never called, and therefore when MultiHomeCommands checks to see if a player has a cooldown, it will always get one even if the cooldown already expired. As long as the getCooldown does not return null, then the player cannot /home.

-- Joren

/deletehome not working for other players

Bukkit 1493 1.0.0, using PEX. MultiHome version 0.11.1. Have verified that permission multihome.othershome.delete is granted. Player Jbluee has named home harry, but typing the following command:

/deletehome Jbluee:harry

results in an error message: "home harry not set". However, typing:

/home Jbluee:harry

shows that the home is indeed set. We cannot delete other players' homes anymore, and are having to manually edit the file.

-- Joren

Cant set home + Errors in console

Server software: Bukkit 1.2.5 R4-0
PermissionsBukkit: 1.6
MultiHome: 0.15

Server console error:
2012-07-11 22:22:04 [INFO] [MultiHome] Enabling MultiHome v0.15 2012-07-11 22:22:04 [SEVERE] Error occurred while enabling MultiHome v0.15 (Is it up to date?) java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at net.madmanmarkau.MultiHome.HomePermissions.initialize(HomePermissions.java:39) at net.madmanmarkau.MultiHome.MultiHome.onEnable(MultiHome.java:38) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:552) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permission at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 17 more

I can't set my home because it just throws the following information at the player: /home [[:]location_name]
My Permissions are set up right.

bPermissions

I have installed bPermissions and it works but Multiple Homes doesn't recognize "bPermissions" iand i don't know why?

Error

Hi,
When somebody do a command I have this error

Thanks

ERROR:

null
org.bukkit.command.CommandException: Unhandled exception executing command 'mhome' in plugin MultiHome v0.11.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:356)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:477)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Caused by: java.lang.NullPointerException
at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:319)
at net.madmanmarkau.MultiHome.Util.teleportPlayer(Util.java:100)
at net.madmanmarkau.MultiHome.CommandExecutor.goDefaultHome(CommandExecutor.java:60)
at net.madmanmarkau.MultiHome.MultiHome.onCommandFromPlayer(MultiHome.java:129)
at net.madmanmarkau.MultiHome.MultiHome.onCommand(MultiHome.java:120)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more

Being denied all functions of MultiHome

I'm unable to do any commands on my server: /sethome, /home, everything I get these errors in the console on my server:

  • MultiHome: Player [name] tried to set default home location. Permission not granted.
    -MultiHome: Player {name} tried to warp to home location [3]. Permission not granted.
    I've tried playing with my permissions.yml file, but nothing I try seems to work. I wasn't exactly sure what to do with the permissions file, so I could've easily been doing something wrong.
    I'm not sure if this is just me or if it's a permissions bug, but this was the only place I found to post it.

Error in building

Hi

I missed a thing. I try te build source code and get this error:

C:\Users\florian\Desktop\srm\MadManMarkAu-MultiHome-d8608ae\src\net\madmanmarkau\MultiHome\Util.java:103: cannot find symbol
symbol : class ChunkResendTask
location: class net.madmanmarkau.MultiHome.Util
backupTask = plugin.getServer().getScheduler().scheduleAsyncDelayedTask(plugin, new ChunkResendTask(location), 1 * 20); // 1 second delay
^
1 error

Can you tell me why please?

Sincerly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.