Custom scripts

The custom C++ server (mc.ae-c.net:7777)
GO HERE INSTEAD -> http://forum.mc-server.org/

Moderator: FakeTruth

User avatar
ker
Posts: 18
Joined: Wed Jan 19, 2011 2:18 pm
Minecraft IGN: ker_

Re: Custom scripts

Post by ker » Wed Feb 16, 2011 12:25 pm

are you sure you're using the most recent version? b/c I'm pretty sure I fixed that already...
or i didn't upload the most recent version... either way, I'm gonna check that out :)

User avatar
suicidal_banana
Posts: 2754
Joined: Thu Oct 28, 2010 8:44 pm
Minecraft IGN: suicidal_banana

Re: Custom scripts

Post by suicidal_banana » Thu Feb 17, 2011 4:12 pm

Good idea, ill post my custom little plugin when im home :)

Edit:
- outdated see next post -

User avatar
suicidal_banana
Posts: 2754
Joined: Thu Oct 28, 2010 8:44 pm
Minecraft IGN: suicidal_banana

Re: Custom scripts

Post by suicidal_banana » Sun Feb 20, 2011 3:16 pm

Update; v2: http://mc-server.org/wiki/doku.php?id=plugins:basiccmds

You need r173!! (because of the vector3d use)

Cmds:
/me [msg] - Share your thoughts!
/msg [name] [msg] - Send somebody a private message
/whisper [msg] - Whisper to nearby players (default:15 blocks)
/shout [msg] - Shout to nearby players (default:30 blocks)
/slap [name] - Slap someone!!

Installation/Settings:
- Just unzip in Plugins directory
- Theres a few basic settings at the top of the lua file
Attachments
BasicCmds.zip
Just unzip in Plugins directory
(1.95 KiB) Downloaded 63 times

User avatar
FakeTruth
Site Admin
Posts: 1802
Joined: Tue Oct 26, 2010 10:29 pm
Minecraft IGN: FakeTruth

Re: Custom scripts

Post by FakeTruth » Sun Feb 20, 2011 5:04 pm

That's Vector3d lol

Let me explain: Vector3 means a vector with 3 coordinates, and the d stands for double. There are 3 types of Vector3's:
Vector3i
Vector3f
Vector3d
They use, respectively, integers, floats and doubles.

There's also a Matrix4f used to rotate/translate stuff :P
Image

User avatar
suicidal_banana
Posts: 2754
Joined: Thu Oct 28, 2010 8:44 pm
Minecraft IGN: suicidal_banana

Re: Custom scripts

Post by suicidal_banana » Sun Feb 20, 2011 6:57 pm

orite typo, fixed

Locked

Who is online

Users browsing this forum: No registered users and 1 guest