/snakegame for MCDzienny

Conor

Member
Joined
Dec 12, 2012
Messages
34
Reaction score
103
Hey Blocktopia.

If any of you host a MCDzienny freebuild server then I'd like to share a command with you. Its the classic 'snake' game brought to minecraft.

Just compile this code into a new command and you're good to go.

Not sure if any of you have servers but if so, enjoy.

Bye.
 

Conor

Member
Joined
Dec 12, 2012
Messages
34
Reaction score
103
Yes, its just complicated which is why its long, even though a snake game seems pretty simple lol.

Oh okay, well you could use this with any MCLawl base providing you change all 'PublicName' to 'name' and create a Dictionary<string, object> called ExtraData in Player.cs. :)
 

Conor

Member
Joined
Dec 12, 2012
Messages
34
Reaction score
103
I think MCStorm is MCLawl base right?

So you can use Ctrl + F to go through the code and just change all cases of 'PublicName' to 'name'.

Also change the namespace at the top to MCStorm.

Finally you'll have to create a Dictionary<string, object> in the Player class called 'ExtraData' (so you need the source code to your MCStorm server).

If you don't have the source code then it is still possible, I would have to use a variable within one of the classes in the plugin instead of relying on the Dictionary in the player class - which is what I should have done anyway but I'm stupid. Let me know if you can get it working, if not then I'll try and do it for you when I have time.
 
Top