Skip to content

thetestgame/Eco-Discord-Access-Mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eco Discord Access Mod

This mod provides Discord role based access to Eco servers. Allowing for more automatic control of who can access your community Eco servers. This mod can also be bundled with the native Discord Twitch integration and the Twitch Subscriber role to create subscriber only Eco servers.

This mod was originally created to demostrate the usage of the new IUserAuthorizer interface in Eco 9.5+. Any long term support or reliability cannot be guaranteed.

Note: This mod is currently dependant on an experimental ModKit api change for Eco 9.5+

Configuring your Discord bot

This mod takes a standard Bot token to interact with Discord. However it does require the following gateway intents be enabled.

  • Presence Intent
  • Server Members Intent

Linking your Discord user to Eco

To create a link between your Discord user and Eco new users must run the following command before they can access the Eco server.

!ecolink [eco username/steam username]

This will create a database link between their Discord user/roles and the Eco game server

License

The Discord Access Mod for Eco is available under the MIT license. A copy of this license can be found in the repository root or here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages