Jump to content




Admin API


  • This topic is locked This topic is locked
7 replies to this topic

#1 TNTeener

  • Members
  • 20 posts

Posted 25 March 2012 - 11:14 AM

Hello! I made "Admin API".

Functions
Spoiler

How to install?

Copy folders and files in Attached zip to Computer Craft folder.

Attached Files



#2 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 25 March 2012 - 12:16 PM

Is this for rednet? Or what?

#3 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 25 March 2012 - 12:33 PM

No, it basically just wraps the native functions os.shutdown(), os.getComputerID(), os.getComputerLabel() and os.version().
And admin.ban() is basically just replacing the startup file, so that the computer shuts down automatically when you try to boot it.
So, not really an API with dedicated functionality, but rather some customized calls to native functions.
Also kick and ban are not initiated remotely, but locally.

@TNTeener:
Maybe you could implement these functions around a client/server architecture? This way the names of the functions would better match their intended purpose.

#4 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 27 March 2012 - 04:26 PM

I could help with the remote system.

#5 rick3333

  • Members
  • 30 posts

Posted 01 January 2013 - 09:09 PM

this is great for servers

#6 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 01 January 2013 - 09:17 PM

View Postrick3333, on 01 January 2013 - 09:09 PM, said:

this is great for servers
Wow, just wow. It is 2013 and you are bumping a thread from March 2012.

#7 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 02 January 2013 - 08:03 PM

View PostSammich Lord, on 01 January 2013 - 09:17 PM, said:

View Postrick3333, on 01 January 2013 - 09:09 PM, said:

this is great for servers
Wow, just wow. It is 2013 and you are bumping a thread from March 2012.
A completely useless thread even.

#8 AfterLifeLochie

    Wiki Oracle

  • Moderators
  • 480 posts
  • LocationAfterLifeLochie's "Dungeon", Australia

Posted 02 January 2013 - 08:14 PM

Locked. For the love of sanity, please don't reply "Necromancer in the thread" or whatever - report it.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users