Search found 65 matches
- Thu May 31, 2012 9:43 pm
- Forum: Other
- Topic: Bukkit Plugins: Querying Server
- Replies: 17
- Views: 4419
Re: Bukkit Plugins: Querying Server
Oh, sorry XD I wasn't aware you wrote MineBans O.o This explains a bit to me now.
- Thu May 31, 2012 7:53 pm
- Forum: Other
- Topic: Bukkit Plugins: Querying Server
- Replies: 17
- Views: 4419
Re: Bukkit Plugins: Querying Server
I think maybe he was referring to the one you made in the tutorial? O.o Or was that just a kick plugin? .-. Dun remember. In a plugin I made, I just had to keep a file of users and it would write when a player was banned (UNIX Time stamp, my fave), then it would check the current time stamp against ...
- Tue May 29, 2012 7:06 pm
- Forum: Other
- Topic: Stripping a string of a color code? (Bukkit)
- Replies: 7
- Views: 2883
Re: Stripping a string of a color code? (Bukkit)
Thanks XD I'm no good and finding much of anything in java docs for anything. @.@ But this has a regex patter that might work, so I'll give it a shot.
- Tue May 29, 2012 2:37 pm
- Forum: Other
- Topic: Stripping a string of a color code? (Bukkit)
- Replies: 7
- Views: 2883
Re: Stripping a string of a color code? (Bukkit)
Well I have the event priority set to high, but I'm still not entirely sure what to search for with the regex. I'm trying to avoid stripping the color from the text because then I don't know how to replace the color as it should be, and I don't want the plugin to interfere with how the game renders ...
- Tue May 29, 2012 12:23 am
- Forum: Other
- Topic: Bukkit Plugins: Querying Server
- Replies: 17
- Views: 4419
Re: Bukkit Plugins: Querying Server
Well, says there's an error in your plugin judging by the at me.samzrulez.bukkit.samzrulez.util.QueryServer.<init>(QueryServer.java:22) at me.samzrulez.bukkit.samzrulez.SamzRulez.<init>(SamzRulez.java:54) I'm no good at query servers, but might help if ya included the code from the QueryServer class...
- Mon May 28, 2012 4:49 pm
- Forum: Other
- Topic: Stripping a string of a color code? (Bukkit)
- Replies: 7
- Views: 2883
Re: Stripping a string of a color code? (Bukkit)
Yeah, usually when I'm trying to find something new like this. I just put a dot and let Eclipse show me what the options are, which thankfully are a bit verbose XD But yeah, I wouldn't have thought about using the ChatColor object, so I guess it wouldn't have worked so well XD Thanks at any rate!
- Mon May 28, 2012 4:47 pm
- Forum: Other
- Topic: Bukkit Plugins: Querying Server
- Replies: 17
- Views: 4419
Re: Bukkit Plugins: Querying Server
It seems like if you have access to the file, you can use something like AJAX to fetch the file from the web page's code. But I guess then the webpage would have to be hosted on the same system the server is on, and you'd probably need the full path to the file on the webpage when it fetches it (whi...
- Sun May 27, 2012 1:16 am
- Forum: Other
- Topic: Stripping a string of a color code? (Bukkit)
- Replies: 7
- Views: 2883
Re: Stripping a string of a color code? (Bukkit)
Thanks .-. Wonder why I didn't try that XD Feel like an idiot now XDD
- Fri May 25, 2012 11:22 am
- Forum: Other
- Topic: Stripping a string of a color code? (Bukkit)
- Replies: 7
- Views: 2883
Stripping a string of a color code? (Bukkit)
I'm in the middle of writing a plugin to filter the chat (for personal use atm, since the other chat filter plugins just seem to suck). At the moment, it's working wonderfully, but it seems you can completely bypass the filter by putting a color code or some text before the word that needs to be fil...
- Tue May 15, 2012 1:20 am
- Forum: Other
- Topic: Auto-Updating Config Files (Bukkit - YML)
- Replies: 5
- Views: 1585
Re: Auto-Updating Config Files (Bukkit - YML)
Ahhh, alrighty, thanks anyways! XD I'm very persistent >.> I'll prolly keep trying various methods.
- Mon May 14, 2012 10:53 pm
- Forum: Other
- Topic: Auto-Updating Config Files (Bukkit - YML)
- Replies: 5
- Views: 1585
Re: Auto-Updating Config Files (Bukkit - YML)
Well, considering this plugin is still fairly new and I keep coming up with new features, I end up restructuring files or adding options to the config, and since the config has options with lists of stuff, and I thought it'd be convenient to have the plugin do the updating automatically. Especially ...
- Mon May 14, 2012 2:10 pm
- Forum: Other
- Topic: Auto-Updating Config Files (Bukkit - YML)
- Replies: 5
- Views: 1585
Auto-Updating Config Files (Bukkit - YML)
So this isn't so much something I can't do, but wondering if there's a better way to do it. The only way I've been able to auto-update config files is by creating temp variables for every option in the config, overwriting the old config, then replacing the old variables into the new config and setti...
- Sun May 13, 2012 6:13 pm
- Forum: Other
- Topic: How to delete a node and all sub values? (Bukkit of course)
- Replies: 10
- Views: 2230
Re: How to delete a node and all sub values? (Bukkit of cour
Seems so. More-so I think it indicates an empty multi-tier node. And empty single-tier node usually has a "[]" after it. And thanks! This slight issue with node removal has been hindering me from updating about 3 of my plugins in the works XDD Great help, appreciate it @.@
- Fri May 11, 2012 11:10 pm
- Forum: Other
- Topic: How to delete a node and all sub values? (Bukkit of course)
- Replies: 10
- Views: 2230
Re: How to delete a node and all sub values? (Bukkit of cour
I tried it right quick and it seems to do the same thing. Just splits all the nodes into a single-tier level list with null values. EDIT: Scratch that, kinda sorta changed the wrong line of code. Will post again later with the right result I guess XDD MORE EDITS: Alright, that seems to work XD After...
- Thu May 10, 2012 4:06 pm
- Forum: Other
- Topic: How to delete a node and all sub values? (Bukkit of course)
- Replies: 10
- Views: 2230
Re: How to delete a node and all sub values? (Bukkit of cour
Not entirely sure how that'd work O.o I can set it to a ConfigurationSection if I cast it from a Set<String>, but then the ConfigurationSection doesn't have a .remove() method. So I guess in the mean time, I'll just remove the getKeys(true), and work from there.
- Tue May 08, 2012 9:19 am
- Forum: Other
- Topic: How to delete a node and all sub values? (Bukkit of course)
- Replies: 10
- Views: 2230
Re: How to delete a node and all sub values? (Bukkit of cour
Sorry to revive this, but I'm having some issues with this. So I start with something like this for a yml file: Borders: test: Owner: OffLuffy Position: 0,64,0 Radius: 100 Shape: round Then I can add to the file fine and it works perfectly, but when I go to remove a node like test, it turns into thi...
- Tue May 08, 2012 3:27 am
- Forum: Other
- Topic: Bukkit Plugins
- Replies: 5
- Views: 1576
Re: Bukkit Plugins
Nah, bugged the hell outta meh when I saw it in the config, but it's all good XD I didn't even think about looping it like that, ended up doing a much more complicated loop @.@ But I think I like this better. Might steal it if I can find the spot I had it before.
- Tue May 08, 2012 3:25 am
- Forum: Other
- Topic: MCBans hook-in?
- Replies: 2
- Views: 986
Re: MCBans hook-in?
Thanks XD If I can figure out MCBans, I might add that and the others. Just to be thorough. Whatever I can get to work would be nice.
- Sun May 06, 2012 9:21 pm
- Forum: Other
- Topic: MCBans hook-in?
- Replies: 2
- Views: 986
MCBans hook-in?
I'd like to warn admins (or people with a perm node) if a user that joins is on the MCBans list. Any clue how to hook into that list? Hopefully without actually downloading the plugin or an extra library and such. Maybe this isn't your specialty, but I'm hoping you have some direction on this, it'd ...
- Sun May 06, 2012 9:18 pm
- Forum: Other
- Topic: Bukkit Plugins
- Replies: 5
- Views: 1576
Re: Bukkit Plugins
You need to join all of the arguments together, the easy way is this String message = args[0]; for (int i = 1; i < args.length; ++i){ message += " " + args ; } Then the variable message will contain all of the arguments with spaces between them. lmao, I remember some of your earlier vids ...
- Sun Apr 29, 2012 3:43 pm
- Forum: Other
- Topic: Random stuff at login?
- Replies: 2
- Views: 970
Re: Random stuff at login?
lmfao, used to have it installed. What I have deduced is that it is part of the /we cui handshake to initialize that mod. When I go through my chat history, it says it automatically does "/we cui", then does that crap. So, for some reason, my plugin is capturing that and printing it out. D...