"
For beta versions only"
You are able to install this little script in
ALT+F6
[+server start=every 5 seconds]
{.file changed|ban.txt|#banned.users.}
[+request]
{.set|b|{.from table|#banned.users|%user%.}.}
{.if|{.length|var=b.}|{:
{.disconnection reason| Hello %user%. You are banned. {.^b.}.}
:}.}
EDIT:
note:
in recent betas (260+), section [+request] can be simplified this way:{.set|b|{.from table|#banned.users|%user%.}.}
{.disconnection reason| Hello %user%. You are banned. {.^b.}|if={.length|var=b.}.}
After you copy&paste this script, all you have to do is to create a file "
ban.txt" in the
same folder of hfs.exe using this format:
mark=you are impolite
rejetto=you suck
uploader=sorry, temporarily disabled
other username=other reason for banning
If this does not work with your template:
that's because the template you are testing is not using the needed feature (that's the %reason% in section [deny])
try right clicking on the root/home > properties > diff template
and paste this
[deny]
<h1>Unallowed</h1>
{.or|%reason%|This resource is not accessible..}