Author Topic: Server_PlayerAbil  (Read 3264 times)

A simple addon that essentially allows you to toggle some of the player's abilities.

This is broken up into four abilities; Self Delete, lights, (all) emotes, and the wand.
There is an RTB preference for each one and another one call "Set to Default" which returns each preference to its default. This is something I want when I need to reset one addon's prefs without needing to then redo all my other prefs.

The emotes affected are Alarm, Confusion, Hate, Hug, Love, Sit, Wtf, and Zombie, and you can have an exception for any two of the above.

One more feature is that this overwrites servercmdRealBrickCount with servercmdBrickCount.

Direct Download

Thanks to the following:
  • Julius The 1st for giving me the original code snippets for disabling or enabling Self Delete.
  • Kalphiter for pointing out that Julius's function causes console spam when you try to Self Delete while dead.
  • Iban for the Healthbar mod, which gave me the arguments for the RTB pref function.
  • Various sources from which I figured out that Parent::* can only be used in a package.
  • Console for pointing out errors, albiet inaccurately.
  • Ephialtes for making RTB which in turn made this addon possible.
  • Last but not least, Badspot for making Blockland.

Note: This addon was tested on a fresh, non-demo install of Blockland with only RTB and default addons. If this addon does not work for you, it's not my fault. Furthermore, I fixed the aforementioned console spam, so any console spam is not my fault either.

Currently on v2.
« Last Edit: September 13, 2010, 08:36:57 PM by Xalos »

OFF TOPIC: First Post!

ON TOPIC: Nice, DLing



Link does not work.

And OS, stop being an idiot.

What? You can disable lights? :D
DLing

Upload to RTB
I already did, I just need to wait for it to be approved. EDIT: It was about an hour ago.

Link does not work.
You're right, that's odd...   Well, I was hoping to use a direct link to the file, but maybe that trick doesn't work anymore. I'll update the first post, then.
« Last Edit: September 13, 2010, 04:20:13 PM by Xalos »

  • Ephialtes for making RTB which in turn made this addon possible.
  • Last but not least, Badspot for making Blockland.
Why even post these?

Why even post these?
He appreciates the hard work Badspot and Epi have done.

Why even post these?
Because they're the credits, you don't need to post any of them at all, it just makes you an ungrateful bastard. Ephialtes made RTB, which made this mod even remotely useful, and Badspot made Blockland, which is something to credit him for unto itself.

Or are you meaning to imply that you plan to replace Blockland as well as RTB now?

He appreciates the hard work Badspot and Epi have done.
Or, put shortly, QFT.

Why even post these?
Somebody's jealous...
On Topic:Good. I have no use for it though.

Good. I have no use for it though.
You don't have to download it, I just needed something to get rid of emotes and lights because people are trying to "be taken prisoner" or "be a builder" on my Lava Trench Warfare server. You can't even see lights from 576 bricks away. (The battlefield is a 576x576 sized area.)