Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[Any] PermissionsSM - Node-Based Permission Management (v1.0, 2014-08-30)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 29.08.2014 23:53

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b>If you guys are running my Plugin on a server, I would love to know the IP and check it!</b><br /><br /><font face="Arial Black">About</font><br />I never really liked the way Sourcemod handles Permissions, call me a spoiled brat but that's my opinion. Anyways, I used to own a minecraft server and that is where I got this idea from. Node-based Permissions! All by itself it's pretty useless, so I hope people begin adopting the idea and my plugin and start using node-based permissions. I will update my plugins to use PSM later, so these will probably be the first 2 which you can use together with this.<br /><br /><font face="Arial Black">Features</font><br />1.) Easy to use: Just drag the .smx file into your plugins folder and you're set<br />2.) Entirely command based: You can modify both groups and users completly using commands. You can also edit the Users.txt and Groups.txt Files found in SourcemodgamedataPermissionsSM<br />3.) Easy for developers to hook into: Use the natives PsmHasPermission and PsmCanTarget for Permission checking<br /><br /><font face="Arial Black">Commands</font><br />permissionssm - Command that gives you access to all the other commands (permissionssm help)<br />psm - Alias for permissionssm<br /><br /><font face="Arial Black">ConVars</font><br />revivemarkers_version (1.0) - Just an ordinary version ConVar<br /><br /><font face="Arial Black">Installation instructions</font><br />1.) Download .smx file below and put it in your plugins folder<br />2.) Load it with sm plugins load PermissionsSM or by restarting your server<br />3.) Set Users and Groups the way you want<br /><br /><font face="Arial Black">Dependencies</font><br />None<br /><br /><font face="Arial Black">Plugins that use PermissionsSM</font><br />None<br /><br /><font face="Arial Black">Bugs</font><br />None so far<br /><br /><font face="Arial Black">Planned Features</font><br />- Build a metrics System (+SM Extension) and hook this Plugin into it<br />- Add Adminmenu Integration<br />- Make Superpermissions (Pluginname.*) possible<br />- Override CheckCommandAccess maybe?<br />- Write Documentation for Usage<br />Anything else you guys might wanna see being added?<br /><br /><font face="Arial Black">For Developers</font><br />I will build an example plugin later that you can check out, for now, just download the permissionssm.inc and check the usage in there<br />If you wrote a Plugin, please send me a link, I will link it here in the Post as well<br /><br /><font face="Arial Black">Special thanks</font><br />PermissionsEX for giving me the idea<br /><br /><font face="Arial Black">Servers with my Plugin</font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">None</div>
</div>
</div><br /><br /><font face="Arial Black">Media</font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />None<br /></div>
</div>
</div><br />If you have any kind of media related to this, I'd love to add it here.<br /><br /><font face="Arial Black">Changelog</font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br />2014-08-30 (v1.0)<br />* Initial release.<br /></div>
</div>
</div></div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=137424"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1409352756">Get Source</a> (PermissionsSM.sp - 54.1 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/inc.gif" alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1409352756">permissionssm.inc</a> (772 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1409353057">Groups.txt</a> (611 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1409353057">Users.txt</a> (119 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych