azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.19k stars 2.47k forks source link

Feature: [Module] Log RDF meta data #5477

Open 55Honey opened 3 years ago

55Honey commented 3 years ago

Describe your feature request or suggestion in detail

When players are automatically invited to a RDF group, the meta data of these events should be stored:

An optional config flag is required to turn the feature on.

Describe a possible solution to your Feature or Suggestion in detail

Storing the relevant data in the database would be convenient, as long as all above criteria regarding content and readability are met.

Additional context

Kitzunu commented 3 years ago

For what purpose?

FrancescoBorzi commented 3 years ago

For what purpose?

moderation

Kitzunu commented 3 years ago

Should be fairly simple as core already does all this

FrancescoBorzi commented 3 years ago

it would be nice to have this as a module, I'll add a bounty on this later

Kitzunu commented 3 years ago

Why module? We already log chat, gm commands, etc, just add a new config like them?

FrancescoBorzi commented 3 years ago

Why module? We already log chat, gm commands, etc, just add a new config like them?

I can live with a new config for this. But, ideally, we should always have this kind of feature as a module.

Yes, I know, we already have plenty of similar features in the core. That's both for historical reasons (before AzerothCore there were no modules in mangos/trinitycore) and because it's simpler for some people to just throw features inside the core (partially it's also our fault, as the module and hooks system hasn't been properly documented so far - but we are working to improve that).

Modular software is easier to be maintained and there are a lot of benefits in splitting the code into modules instead of having a big "monster".

https://en.wikipedia.org/wiki/Modular_programming