F2D Plugin

F2D Plugin 0.8

Login or Register an account to download this content
Be warned!
This is not a finished product. This is not userfriendly.
I made this for the F2D gameservers (Bad documentation , sry) but still want to share for anyone who could use it.
A basic understanding of programming (c#), databases (maria) and gameserver in general is needed.


plugin.png

How it works:
F2D_Plugin.exe is started instead of acServer.
The program starts acServer as process and connects to it via udp.

folder.png

It uses the mysql.data nuget paket from oracle
https://www.nuget.org/packages/MySql.Data/8.0.19?_src=template
and the acPlugins4net.dll
https://github.com/minolin/acplugins
Works on both windows and linux (mono).

Best features:
- Hotlapping
- Stats
- Trackvoting
- Serverrestarts
- Advertisements
- Console and ingame commands
since v0.8
- Afk kick after 15 minutes
- Maximum contacts for hotlap

Additions to the server_cfg.ini
[F2D]
hotlap=yes ;activates hotlapping
hotlapmintime=250000 ;minimum hotlap time in ms
sol=yes ;advertisement "turn your lights on"
randomizecars=yes ;randomizes cars from packs
carpack=slide ;name of carpack
consoleoutput=no ;shows output from gameserver
local=no ;switch for database login
windows=no ;switch for windows/linux
dailyrestart=no ;restarts server daily at 11:50 am
changetrack=yes ;activates trackvoting/trackchange
changetracktime=60 ;how often trackvoting activates in minutes

Console commands:
exit | exit the plugin
broadcast message | send a message to everyone on the server
chat connectionid message | send a message to one driver
kick connectionid (optional reason) | request kick for player with optional reason
restart | restart the session
next | skip the session
sessioninfo (optional sessionid) | request current session info (or by sessionid)
driverinfo (optional connectionid) | request driver information for all (or one)
+driverinfo (optional connectionid) | request additional driver information for all (or one)
serverrestart | restarts the gameserver
changetrack trackid

Ingame user commands:
/stats
/countdown seconds(3-10)
/tracks
/help
since v0.8
/rtv (rockthevote)
/driver

Ingame admin commands:
/admin password
/broadcast message
/serverrestart
/startvote
/changetrack trackid
since v0.8
/k_id (kick)
/b_id (ban)
/t_id (timeout)

Our Discord
discord.gg/N3R3mCR
if you want to get in contact or just get some drifting going ^^.

f2d.online

Latest updates

  1. F2D Plugin 0.8

    Update for 0.8 Pastebin: https://pastebin.com/0YpPYfA9 MariaDB: https://pastebin.com/pvegPMW3...

Latest News

Author
ofbrol
Downloads
52
File size
14.5 MB
Views
3,194
First release
Last update
User rating
0.00 star(s) 0 ratings

Are you buying setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top