hostlib

by Kuraudo
A cross-platform utility to help determine if a player key has hosting privileges. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Kuraudo.hostlib##version=0

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Kuraudo.hostlib##version=0

158 downloads
Latest Version
Date added: May 8 2009
Last updated: May 9 2009
1 fan
A small utility to help determine if a player key has hosting privileges. Uses a world's configuration files to determine if someone has the privileges to do hostly things (reboot, shutdown, etc.) so you can give them the proper in-game attention (kick/ban/mute, whatever).

This is useful especially for worlds hosted on Unix systems, which do not set world.key. Using this IsHost() proc in place of checking world.key allows worlds hosted in Linux DreamDaemon instances to properly recognize the world's host.