Okay I am currently using cMSS as my server software, I know a bit of Python myself so I've been looking though the code I just figured out how to make it so when a user says "!rules" that it lists the rules but I want to do even more. I want to make it so on my server I can place blocks that cannot be removed any type of block not just stone. I would also like screen name colors for op's, I was wondering if this could be done just with cMSS or would I need an altered version of the minecraft-server.jar file?
This cannot be accomplished with cMss, it is merely a wrapper. What you need to do is either edit minecraft-server.jar (might take a while due to Notch's odd naming of classes) or you can write a custom server similar to either WoM server, The Archives or JTE's Server, you may even buy JTE's server off her, she sometimes hops onto #minecraft.
I have no idea how I would make unbreakable any blocks with Python.
Well have a seperate type stored for each block like
0 - Dirt
1 - Unbreakable Dirt
2 - Stone
3 - Unbreakable Stone
Then the server sends the client the normal type of the block (for example 0 or 2) so that it displays correctly.
But if a player sends a message to the server to delete a block which is stored as 1 or 3 on the server. It doesn't delete the tile. Therefore the next sector update the block will be there again. Simples.
Would display as Zuriki if my memory serves me right.
If you're storing name colours, you have to do that serverside. Then when you transmit what a player said, you modify it to use the colour code.
Note, that if you want the message and username to be different colours, you will have to append a colour code to the message as well. I'm not sure how the protocol has it written but it should look something like:
Yes. Except from a non reflective wrapper on vanilla, you will need to somehow intercept chat(well I guess you could force admins to append all chat with a /
Rollback Post to RevisionRollBack
I disagree with you, therefore you are wrong.
Quality of output = Skill * Effort
Yes. Except from a non reflective wrapper on vanilla, you will need to somehow intercept chat(well I guess you could force admins to append all chat with a /
Even that would be a ***** to do: you could catch all commands that aren't in the accepted / commands, but then typos, etc would get through... would be a little awkward at times. The best I can do without getting overly complicated / heavy-on-resources would be a /say mod... surely that would satisfy the need to speak authoritatively without being anonymous. It doesn't even have to be /say, /s would work just as well.
Rollback Post to RevisionRollBack
I'm back. Time to revamp this place now that there's no IRC for me.
-AlLnAtuRalX
Feel free to IM me. I'm here to help with whatever issues you may have, and would be glad to assist.
You can write it in Python.
Well have a seperate type stored for each block like
0 - Dirt
1 - Unbreakable Dirt
2 - Stone
3 - Unbreakable Stone
Then the server sends the client the normal type of the block (for example 0 or 2) so that it displays correctly.
But if a player sends a message to the server to delete a block which is stored as 1 or 3 on the server. It doesn't delete the tile. Therefore the next sector update the block will be there again. Simples.
For example:
&4Zuriki
Would display as Zuriki if my memory serves me right.
If you're storing name colours, you have to do that serverside. Then when you transmit what a player said, you modify it to use the colour code.
Note, that if you want the message and username to be different colours, you will have to append a colour code to the message as well. I'm not sure how the protocol has it written but it should look something like:
&4Zuriki: &1Message
Something along those lines.
Quality of output = Skill * Effort
Mail, your pretty good with python right? Is it actually possible to do colored usernames or not?
Quality of output = Skill * Effort
Even that would be a ***** to do: you could catch all commands that aren't in the accepted / commands, but then typos, etc would get through... would be a little awkward at times. The best I can do without getting overly complicated / heavy-on-resources would be a /say mod... surely that would satisfy the need to speak authoritatively without being anonymous. It doesn't even have to be /say, /s would work just as well.
-AlLnAtuRalX
Feel free to IM me. I'm here to help with whatever issues you may have, and would be glad to assist.
Quality of output = Skill * Effort