NextDevv / AutoMod

Ready up for automated moderation
https://www.spigotmc.org/resources/automod.117078/
GNU General Public License v3.0
3 stars 0 forks source link

without Redis #1

Closed Portal2001 closed 4 months ago

Portal2001 commented 4 months ago

it is not possible to use this plugin without Redis? as the plugin just shuts itself

NextDevv commented 4 months ago

As I stated on my response on spigot.org, yes it is possible! Here's how you can do it:

In the latest config.yml there's the propriety requiresMultiInstance, that you can set it to false if you don't use multiInstance servers.

Here's an example config:

# Redis URI. If you are running multiple instances of this plugin, set this to the same URI.
redisUri: "redis://localhost"
# If you are running multiple instances of this plugin, set this to true. This will enable Redis pub/sub.
requiresMultiInstance: false # false if you don't want redis

. . .