Join 2,356+ Players and socialize together

Join the Community Today

Come hang out with us on the Minecraft Addicts Forums — it's the perfect place to chat, trade cool stuff, and connect with awesome builders just like you! Let's plan epic builds, create amazing worlds together, and then show off your masterpieces to everyone! Plus, we’re all about having fun, so feel free to talk about anything under the sun—games, hobbies, favorite snacks, you name it! Can't wait for you to join and share all the Minecraft magic!

Sneak Peek - HUB MENU MOD - WIP

Status
Not open for further replies.

AssaultCommand

Well-known member
Joined
Jun 13, 2011
Messages
781
So this is what I got so far, what do you guys think?
20120825123341.png


Also, tell me any ideas you have that you would like to see in this!

If anyone can tell me how to get chat sent from the server as something I can compare to a string, it'd be greatly appreciated. I'll probably also need some help to block said message from the chat.
(This is for things like getting you money balance, so you don't see it every 5 minutes)
 
Last edited:
Cool! I wish I could make stuff like this. Although I'll be learning java this year in school. As for chat, what if you pull it from IRC? I've seen a bunch of IRC mods for Minecraft, so its possible.
 
How would I go about pulling your balance from IRC?
I could get a players list via that, but players aren't the problem, chat is.
 
Hm. Well, if you're looking to turn the chat into a string, you can always see how Improved Chat does its logging feature (decompile the mod to see what class files are being used) and then recreate that. IC takes every line of chat that appears on your screen, including command stuff (eg. PW: Warped to vault)
 
You cant pull your account balance via IRC. We have all chat forwarding through the addictsbot, and for things like that the bot would need permission to view all accounts.

im not even going to explain how many issues that would cause....
 
You cant pull your account balance via IRC. We have all chat forwarding through the addictsbot, and for things like that the bot would need permission to view all accounts.

im not even going to explain how many issues that would cause....

I wasn't even thinking of using IRC for that. But perhaps I could integrate an IRC thing for staff members?
Atm it's mostly planning though... :/

EDIT: RefinedCode did that welcoming mod right? I could ask him when he gets back I hope.
 
Just pull the account balance from in-game. Send /money to the server, then grab the line of text from the chatbox
 
yes but the addictsbot forwards all chat from all players. there is no way to pull a player's account balance through IRC. the server sees "addictsbot" as a player with the IRC users name as a tag on the addictsbot's player name. plus any player can just spoof another player and pull their account balances.

one thing about this mod that im a little worried about: the amount of queries that it would be sending to the server to pull all this information, and potentially useless messages that enter chat that others dont need to see.

i would appreciate it if you would talk to us before continuing development of this mod.
 
yes but the addictsbot forwards all chat from all players. there is no way to pull a player's account balance through IRC. the server sees "addictsbot" as a player with the IRC users name as a tag on the addictsbot's player name. plus any player can just spoof another player and pull their account balances.

one thing about this mod that im a little worried about: the amount of queries that it would be sending to the server to pull all this information, and potentially useless messages that enter chat that others dont need to see.

i would appreciate it if you would talk to us before continuing development of this mod.
It'll only grab your balance like every 10 minutes, or if you /pay someone or do anything shop related.
It won't send anything into the chat at all, it'll only send commands...

Also, if you see me in IRC you can join #MCAmod to talk to me.
 
Bird, I wasn't talking about using IRC. I know that wouldn't work, I was suggesting a way to do it in-game.
 
Progress!

Also, if your username is the same as one of the staff's usernames, your name will have a different color in the welcome screen.
20120826224122.png

20120826224126.png


Sadly the balance does not show in the menu yet.
Also, for the news to update it grabs a .txt from the interwebs. It'd be awesome if the staff could put the latest news in a .txt file every time they post (also, it'll have to always remain the same file in the same locations, so you'd only have to update the content).
 
Managed to grab the balance from chat. It is so simple actually, but I'm trying to touch the least amount of base classes possible.
 
hey assault remember dont have it checking evey 10 minute only when you click economy should it do that
 
Status
Not open for further replies.
Back
Top