The reloadplugin command doesn't actually reload the class, despite 99% of the work to make it do that being done, at least on MacOS. The following change is all that's required to make it actually reload the class:
PluginLoader.java:175
-- Class c = Class.forName(fileName, true, child);
++ Class c = child.loadClass(fileName);
edit: I just noticed the custom classloader thing you have that's dependent upon the Sun classloader. Maybe that's why it doesn't work on Macs. Anyway, this change should make it work cross-platform.
Ok, cool. Though it shouldn't be able to load the class in the first place if that code doesn't work, should it?
"That player cannot be banned"
//groups.txt
admins:6:*,/protect,/cuboid:mods:2
mods:d:/ban,/kick,/item,/tp,/tphere,/s,/i,/give,/warp,/protect,/cuboid:vip:1
bluem:b::vip
redm:4::vip
vip:e::default
default:7:/help,/sethome,/home,/spawn,/me,/msg,/playerlist,/motd,/tell,/m,/who:default
jailed:f:::-1
I can't see any reason why it would say that, is there something setup wrong?
Well you won't be able to ban bluem or redm members because you don't inherit them. Other than that it looks okay.
Quote from tailzdafox »
For Some Reason I Can't Get the Gradient Skin Off My char on Single Player..... Ive Deleted and redownloaded minecraft and everything...... how to i get the gradients off?
wat
Quote from Dengarren »
Cool mod here, got just one request for it:
A second /item command that has limits placed on what items can be spawned through it, changeable by the host. Main reason being that I play on a server that's main goal is to not spawn unnecessary items, and the only ones that actually require spawning to move that would normally work fine in single player are lava and water. A command that only allows those two to be spawned would give the moderators there a bit more power without having full blown admin abilities.
You can have limits on the /item command, just mods bypass the limits.
Quote from acce245 »
I was wondering if it was possible to spawn multiples of the same item using the /kit function. For example, say I have a kit named ladder, and I wanted to make 30 ladders at a time, is that possible? Currently I can only seem to make one of any given object at a time. I would use the search function to see if this issue has already been addressed, but the search function is not working on this site at present. Any assistance would be appreciated. Thanks!
-snip-
On a somewhat unrelated note some asshole as been downloading my mod constantly for the past 20 hours, and 4816 times today, according to the access logs. He's used roughly 5-6GB of bandwidth. Thanks bro! Enjoy your IP ban!
*cough cough* jealous coders that you have the best and most epic server mod ever.
Turns out the guy was just making a plugin site. He set-up a crontab to run every few seconds to get the latest version. The way he got the latest version was by downloading it...
Quote from RedChili »
The download link does not work for me :/
If you read what it said it said it was temporarily down. It is down because of the above issue, so I'm setting up one or two mirrors.
When I use /setspawn inside of a house that has 5 blocks per story, people that spawn there spawn on top of the house instead of inside the room I want. Is there some kind of height restriction or am I doing something wrong?
However, I am a bit confused about how server.properties works. I have certain items in "disalloweditems" and "itemspawnblacklist" yet people can still spawn/use them. Not sure if this is just to prevent /item (or /give for that matter) or to prevent them from making it (crafting normally) but either way it sill allows people to use them.
In short, is there a true way to block an item from use, am I missing something? I had some people make a minecart on my server (something I blocked) and they could still use it. (these people where also non-ops/non-admin). Thanks in advance for any help.
server.properties:
#Minecraft Properties File
#Thu Oct 21 19:28:07 EDT 2010
spawn-protection-size=16
level-name=freebuild
disalloweditems=259,328,342,343,46,66,10,11,8,9
itemstxtlocation=items.txt
alloweditems=
group-txt-location=groups.txt
server-port=25565
whitelist=false
homelocation=homes.txt
logging=false
kitstxtlocation=kits.txt
whitelist-txt-location=whitelist.txt
server-ip=192.168.1.72
itemspawnblacklist=259,328,342,343,46,66,9,10,11
whitelist-message=Not on whitelist.
warplocation=warps.txt
plugins=
reservelist-txt-location=reservelist.txt
online-mode=false
monsters=false
show-unknown-command=true
save-homes=true
admintxtlocation=users.txt
max-players=20
data-source=flatfile
motd=Type /help for a list of commands.
save-interval=900000
reload-interval=1800000
Disalloweditems is for /item (alias: /i and /give, they're all the same). Item spawn blacklist stops people from placing blocks. (Blocks as in blocks, I've never tested with things other than blocks such as levers, minecart tracks, minecarts, etc.).
does kick / ban work in any of these new releases?
There is no reason it shouldn't unless you have messed with your group hierarchy.
On a somewhat unrelated note some asshole as been downloading my mod constantly for the past 20 hours, and 4816 times today, according to the access logs. He's used roughly 5-6GB of bandwidth. Thanks bro! Enjoy your IP ban!
Logs still seem to be created and archived even though logging=false in server.properties. Using b120. Any ideas?
*ahem*
Quote from OP »
logging - Enabling this will cause every command used to be logged to the logs.
Please the the OP (original post) before you post!
Quote from Herrkhosse »
@hey0
Is there any way to get an ID of one particular mob as a reference?
ToString changes all the time etc. and I seem to not be able to get Mob from the Moblist, save it let's say in another arraylist and then compare the entry again against the newly picked Moblist.
[SEVERE] Exception in command handler (Report this to hey0 unless you did something dumb like enter letters as numbers):
java.lang.ClassCastException: fh cannot be cast to gh
at Mob.<init>(Mob.java:23)
at id.d(id.java:1072)
at id.a(id.java:353)
at ba.a(SourceFile:24)
at bb.a(SourceFile:218)
at id.a(id.java:53)
at dc.a(SourceFile:79)
at net.minecraft.server.MinecraftServer.h(SourceFile:264)
at net.minecraft.server.MinecraftServer.run(SourceFile:205)
at bm.run(SourceFile:480)
(The download link gave me "Minecraft_mod 120.zip" so I assume this is b120.)
[WARNING] Failed to handle packet: java.lang.NullPointerException
java.lang.NullPointerException
at MySQLSource.getPlayer(MySQLSource.java:775)
at ea.<init>(ea.java:35)
at ft.a(ft.java:92)
at ew.b(SourceFile:94)
at ew.a(SourceFile:35)
at dc.a(SourceFile:72)
at net.minecraft.server.MinecraftServer.h(SourceFile:264)
at net.minecraft.server.MinecraftServer.run(SourceFile:205)
at bm.run(SourceFile:480)
on 120
While the database may say allow null, I don't check for it in my code. I'll get around to fixing it sometime...
While pigs and such work fine the bad mobs are all stuck in place when I find them in a dungeon or spawn one myself. Anyone have experience with this issue?
0
0
The mod will be completely broke and I or someone else will have to update it.
0
0
Ok, cool. Though it shouldn't be able to load the class in the first place if that code doesn't work, should it?
0
Well you won't be able to ban bluem or redm members because you don't inherit them. Other than that it looks okay.
wat
You can have limits on the /item command, just mods bypass the limits.
kitname:id amount,id amount,id amount:delay
0
0
Turns out the guy was just making a plugin site. He set-up a crontab to run every few seconds to get the latest version. The way he got the latest version was by downloading it...
If you read what it said it said it was temporarily down. It is down because of the above issue, so I'm setting up one or two mirrors.
0
BLAME NOTCH :tongue.gif:
0
Disalloweditems is for /item (alias: /i and /give, they're all the same). Item spawn blacklist stops people from placing blocks. (Blocks as in blocks, I've never tested with things other than blocks such as levers, minecart tracks, minecarts, etc.).
0
There is no reason it shouldn't unless you have messed with your group hierarchy.
On a somewhat unrelated note some asshole as been downloading my mod constantly for the past 20 hours, and 4816 times today, according to the access logs. He's used roughly 5-6GB of bandwidth. Thanks bro! Enjoy your IP ban!
0
Means you're using a version you compiled yourself or someone else compiled for you.
They have to be unrestricted to spawn more than 64
0
*ahem*
Please the the OP (original post) before you post!
There should be an entity ID that I can pull.
0
Fixed, will be in the next build
0
While the database may say allow null, I don't check for it in my code. I'll get around to fixing it sometime...
0
Don't play on peaceful :tongue.gif: