Currently the developers are putting their own money into JC2-MP to keep the servers online.

Please take a few seconds of your time and disable your AdBlock plugin for our website.

Ad revenue is not going to developers, it is used purely for covering our hosting costs.

 

You are also free to donate, which removes all ads from our website!

Patch 0.3 was just released! Full changelog here: https://t.co/4A50m6IKen

2 years ago

Advertisement
August 23, 2019, 11:58:51 pm

Author Topic: Admin Panel (Commands + GUI)  (Read 24839 times)

Bluejal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #15 on: December 19, 2013, 07:42:06 pm »
Sounds like exactly what i'm looking for, I can't wait for it! :D

David1544

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #16 on: December 19, 2013, 08:01:31 pm »
This is perfect! Reminds me a lot of the admin panel that comes default with MTA. It'd be nice if the JC-MP devs bundled this in with the default scripts.

Chemich

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #17 on: December 19, 2013, 11:31:09 pm »
I'll release it when most of the stuff is done and working properly. You don't really want a failing admin panel in your live server so releasing it now would be a bad idea. I'll keep working on it this weekend so I hope to release the first version Saturday.

I've added a list of the commands, suggestions are still welcome.

Thanks either way, this will be a giant help to administering a server.

Also can you make it so you can ban by IP, Steam ID, Player ID, and Name? Instead of just Name?

My current admin script is REALLY REALLY inefficient. q_q

UniOnDennis

  • Donator
  • Newbie
  • *****
  • Posts: 15
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #18 on: December 19, 2013, 11:52:45 pm »
As far as I know there's no way to get the IP of a player yet, so can't do that.
Bans are currently based on their steamid and not names.

Chemich

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #19 on: December 19, 2013, 11:55:16 pm »
As far as I know there's no way to get the IP of a player yet, so can't do that.
Bans are currently based on their steamid and not names.

I already know how to get the IP myself, it's just a matter of banning it. I run my server at home, so it's easy to find the IP myself. :P

fahrstuhl1

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #20 on: December 20, 2013, 12:16:30 am »
i know the ip of every player that joins my server Oo i dont know if thats a linux thing but the ip is behind the player name when he joins (in the console, not the chat), and so they are in the server.log

« Last Edit: December 20, 2013, 12:21:11 am by fahrstuhl1 »

UniOnDennis

  • Donator
  • Newbie
  • *****
  • Posts: 15
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #21 on: December 20, 2013, 12:23:29 am »
You're right, I can just grab the output from the console and extract the IP from there.
I'll add that on my to-do list, but hopefully the dev's made a function for getting the IP by then.

Chemich

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #22 on: December 20, 2013, 12:30:40 am »
i know the ip of every player that joins my server Oo i dont know if thats a linux thing but the ip is behind the player name when he joins (in the console, not the chat), and so they are in the server.log

This is what I meant, all I gotta do is ctrl+f the name like "Player joined" and it finds it for me. :P

DJWeownthis

  • Donator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #23 on: December 20, 2013, 12:36:09 am »
/settitle <color> "[Donator]" "steamid" = is it possible to add it into the GUI? ofc without quotes and we choose which title like /settitle red [Unknown] 10101010101 / something like this... o.O

UniOnDennis

  • Donator
  • Newbie
  • *****
  • Posts: 15
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #24 on: December 20, 2013, 12:38:24 am »
/settitle <color> "[Donator]" "steamid" = is it possible to add it into the GUI? ofc without quotes and we choose which title like /settitle red [Unknown] 10101010101 / something like this... o.O

I don't quite understand your idea.

DJWeownthis

  • Donator
  • Newbie
  • *****
  • Posts: 36
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #25 on: December 20, 2013, 12:47:59 am »
/settitle <color> "[Donator]" "steamid" = is it possible to add it into the GUI? ofc without quotes and we choose which title like /settitle red [Unknown] 10101010101 / something like this... o.O

I don't quite understand your idea.

Titles in front of their name in Chat example: http://prntscr.com/2ch4h1

Edit: and maybe their whole name and text including title with the color...
« Last Edit: December 20, 2013, 12:52:29 am by DJWeownthis »

UniOnDennis

  • Donator
  • Newbie
  • *****
  • Posts: 15
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #26 on: December 20, 2013, 01:15:07 am »
Ah, sure, I'll add that as well.

I'll do the admin ranks also in the first release because changing the admin panel later again to make everything work with custom ranks and permissions would be more work than doing it right away.

Also added the ban list tab already where you can remove bans.
« Last Edit: December 20, 2013, 01:40:50 am by UniOnDennis »

KungfuBeer

  • Donator
  • Jr. Member
  • *****
  • Posts: 67
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #27 on: December 20, 2013, 02:43:26 am »
Awesome work!

Hellmans

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #28 on: December 20, 2013, 07:06:44 am »
/notice <message>. Will put a large message on everyone's screen.   add this comand pls

tb2571989

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Admin Panel (Commands + GUI)
« Reply #29 on: December 20, 2013, 10:03:31 am »
Looks good! The other control panels are a bit "heavy" for me.