FactionAlert/ActionAlert
Overview
I am currently overhauling FactionAlert to be called ActionAlert. I will be adding support for more plugins (such as WorldGuard and Towny) to it.
FactionAlert is a fairly simply plugin that will alert players of various actions. Currently, it is in the Release stage, but I plan to add much more functionality to it in the future and some current functionality may change drastically. Currently, FactionAlert allows you to configure alerts for players walking or teleporting into faction land and a member of a faction dying. You can also display a faction members faction in their nameplate.
Since I am a bit swamped with schoolwork right now, I don't have the time to extensively test every aspect of FactionAlert. If you find a bug, please report it and I will fix it as fast as I can.
FactionAlert depends on the latest version Factions.
Wiki | Source | Latest Version
Features
- Completely configurable
- Alerts factions of specific actions done to them, including teleporting or walking into land, combat engagements, and member death.
- Can place a player's faction in their nameplate with a configurable format
- Automatic update checking
- Permissions to exempt players from alerts
- Commands to exclude yourself from receiving alerts
Metrics
FactionAlert collects basic metrics through Hidendra's MCStats. These metrics include, but are not limited to,
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
These are collected to help me get a better feeling of who is using FactionAlert. I use this data to provide more relevant updates. You can opt-out of these metrics through the Metrics config located in plugins/Plugin Metrics/config.yml.
Version Checking
FactionAlert automagically checks for new versions by querying the curse plugin database. This allows FactionAlert to tell you when a new version is available so you don't have to check yourself. You can opt-out of this by setting "Version Check" to false in the config.yml.
Configuration
An in-depth walk through of the configuration can be found on the wiki. You can find the page here.
If you are running version 0.4, you can find the configuration guide here.
Commands and Permissions
A list of commands and permissions can be found the wiki. You can find the page here.
Support
You can create a thread in the support forum or create a ticket if you would like support with an issue.
Source Code
All source code for FactionAlert can be found here.
API
FactionAlert contains an API that allows developers to get into the inner working of the alert systems and do whatever they please. An explanation of the API can be found on the wiki. You can find the page here.
To Do
- All-in-one. That's right, there will no longer be two versions. In testing
- More integration (If you have a plugin you would like FactionAlert to "hook into", just ask)
Your Feedback Is Appreciated
Since FactionAlert is in it's Beta stage, I strongly encourage anyone that uses this plugin to give me ideas of what to add. (I might even be so grateful as to list you as a contributor to the project ;) ).
If you really enjoy FactionAlert, please feel free to click the Donate button on the top-right. A developer needs to buy coffee, right? :)
@XxDawnsusxX
No, not that I'm aware of. I don't have any plan to continue this project. It's completely open source if someone else wants to take it over.
Any working versions for this? I'm really interested in using this plugin on my server.
@Maeso
I do not have a version compiled with 1.8.2. Have you tried the other versions? I haven't myself and have yet to get a result from someone.
I may make one when the multi-world functionality is out of alpha if none of the other versions work.
you have version for faction 1.8.2?
@predawnia
Not currently, but I can certainly add it in v4.0.
@superckl
Anyway to detect factionless entering a faction's land?
I am currently working on v4.0, which will contain combat notification and a demo event API for developers. If you would like to help test it, please leave a comment.
After this version, I don't plan to add anything new (unless I get a suggestion of course), just fix bugs and expand on already existing features - *cough* API *cough*. Once FactionAlert hits 1,000 downloads, I will release a non-beta version :D
@predawnia
Nope. If you look at the source, players with no faction will fail the isValid check and the event handler will not proceed.
Will factionless players gives out an alert?
@superckl
Thanks. I got it. :)
@rtcabooservb
Correct.
I have uploaded a version to fix the console spam. Just give Bukkit a few days to approve it.
@superckl
Ah, I think I misunderstood reading the cooldown description. So with cooldown set to 0, the message is only sent once to everyone in the faction if someone invades their land? If they remain in the land, it won't keep notifying over and over again? However, if they leave the claimed chunk and re-enter it again, it'll re-notify?
@rtcabooservb
Ah, sorry. That spam is me forgetting to remove a log.
What do you mean once? Once in forever? The message isn't repeated every X ticks, if that's what you think. The cool down is so the message can't be sent again in X ticks, if the same player enters the land again. It can be used to prevent spam from players backing out of land then going right back in.
@superckl
Using build 0.25, console is outputting;
I use the cooldown because I don't want FactionAlert to spam the player's chat if there is an enemy in their territory. However, I don't necessarily want it to spam console with the cooldown value either.
What I'd like is to have it only inform the faction once if an enemy has teleported/walked into their territory. No spam, no every X amount of ticks. Would this be possible?
@Jaynix_
I'm not sure. Try both versions and see what happens ;)
Will this plugin work for Factions 1.8?
@InsomniaCraft
Sure thing! I'll work on that tomorrow.
Would you add a permission to be ignored as an entity within someones faction territory? I use VanishNoPacket to watch players, and this plugin tells them that I'm snooping around lol
@InsomniaCraft
Thanks.
The problem I'm having with the combat messages is when to send them. I imagine servers will want very large degrees of freedom with that feature. If you have any suggestions for that problem, please tell me.
Thanks for the fix. Good plugin :D
If I may make 2 suggestions, disable the alerts of when a faction member dies if the faction member was your self.
Also, the ability to get an alert when a faction member is even attacked by another player would be pretty cool.