madmanmarkau / multihome Goto Github PK
View Code? Open in Web Editor NEWMultiple personal home locations
Multiple personal home locations
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`) )
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
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
This is a test issue
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.
I have installed bPermissions and it works but Multiple Homes doesn't recognize "bPermissions" iand i don't know why?
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
I'm unable to do any commands on my server: /sethome, /home, everything I get these errors in the console on my server:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.