1

Plugin Request, auto-kick with logging.

Adelando 3/9/15 4:36 am
168
3/16/2015 7:46 am
Hey guys,

I've searched all over the internet for a plugin.
First i'd like to explain what i would use it for.

I'm a server admin for a Minecraft event that happens locally, what i'm looking to do is set up a server that paid attendees connect to then get disconnected with a message saying "thanks for registering" or "Thanks for verifying your minecraft account", and would like the plugin to build a .txt or .yml file of all the usernames that verify that they have registered for the event.

The need for this plugin is that our first event started slow, because people rocked up with non-premium accounts and incorrect minecraft names. So the need for this is to generate a list of paid attendee's minecraft accounts and to check if users have paid for minecraft or not, so we can tell attendees to purchase minecraft to play at our event.

logging in the .txt or .yml could be something like

(example of successful log)

AidanOrlando:
- LoggedDate: 09.03.2015
- Premium: True (or false)
- UUID: xxxxxxxxxxxxxxxx (or ???)
- Error: [ ]

(would update user log entry if player purchases minecraft later, then re-loggs in)


If someone could help with this, that would be amazing!
Posted by
Adelando
Level 43 : Master Button Pusher
29

  Have something to say?

JoinSign in

5

Adelando
03/16/2015 7:14 am
Level 43 : Master Button Pusher
awesome this worked awesomely, but it does say connection lost instead of kicked from server.. is that meant to be?
1
Rashneish
03/16/2015 7:46 am
Level 36 : Artisan System
Im glad it works as intended.

The first line of the 'kicked screen' always reads "connection lost". The second line is configureable - by default it reads "Kicked from the server", and I've configured it to display "Your information has been saved for consideration."

You can configure the second line of the kick screen by editing the option variable 'kick-message' (line 19) in the options section of the script.

Best of luck!
1
Adelando
03/16/2015 2:47 am
Level 43 : Master Button Pusher
Awesome!! Thank you, I shall test this right away and get back to you
1
Rashneish
03/15/2015 1:56 pm
Level 36 : Artisan System
Howdy,

I've created a script - it logs the information you requested to a .log file.

The script requires the 'Skript' plugin to run, link to that below.

Skript plugin: http://dev.bukkit.org/bukkit-plugins/skript/
Script download: http://www.mediafire.com/download/e6gs9 ... tracker.sk

I am extremely new to scripting so there are likely to be mistakes / inefficiencies in my code. That said, I've done my best to eradicate them.

I recommend notepad++ for editing scripts and viewing logs, standard text editors (such as notepad) dont do so well.

Contact info in the download if you have any questions / require assistance.

An example of what the logs should look like:


[3/15/15 1:31 PM] -------------------------------------------------------
[3/15/15 1:32 PM] Player name: ************
[3/15/15 1:32 PM] - Login date: 3/15/15 1:32 PM
[3/15/15 1:32 PM] - Player UUID: ********-****-****-****-*************
[3/15/15 1:32 PM] - Premium: true
[3/15/15 1:32 PM] -------------------------------------------------------
1
Adelando
03/15/2015 4:26 am
Level 43 : Master Button Pusher
bump
1

Welcome