hostlib

by Kuraudo
A cross-platform utility to help determine if a player key has hosting privileges.
ID:124374
 
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.