Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #5

Merged
merged 4 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Information
You can add votestreaks to your server. Whenever a person in your server votes he get a streak and if he didn't vote in the last 12 hours his streak' get reset.
# For Server Administrators:
A quick note. your player has to be online in the server and have joined at __least__ once with this plugin installed to reset their streak. otherwise you cannot modify streaks.
(sigh. thats annoying. we will eventually find a fix to this)

# For Developers:
this plugin has an extensive api so at the moment we havent introduced the todo features but with our api you can do whatever you want already. have fun:)

# Permissions
- `votestreak.streak.command`
- `votestreak.reset.command`
Expand All @@ -15,11 +22,17 @@ You can add votestreaks to your server. Whenever a person in your server votes h
- [ ] Add a command to check the streak leaderboard

# Supported
[Voting38](https://github.com/kingofturkey38/voting38)
> [!NOTE]
> VoteStreak will **__Not__** be supporting *TopVoter* due to it being an Out of Date / Deprecated Plugin
> yours truly skyss0fly.


- [Voting38](https://github.com/kingofturkey38/voting38)

# Issues
- For issues/suggestions related to this plugin open a issue [here](https://github.com/antbag-pm-pl/VoteStreak/Issues)
# Credits
- [antbag-dev](https://github.com/antbag-dev)

- [skyss0fly](https://github.com/skyss0fly)
- [skyss0fly-pm-pl](https://github.com/skyss0fly-pm-pl)
6 changes: 1 addition & 5 deletions src/antbag/votestreak/Listeners/Voting38Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ class Voting38Listener implements Listener {
public function onVote(PlayerVoteEvent $event) {
$player = $event->getPlayer();
Main::getInstance()->addStreak($player);
/*
$player = $event()->getPlayer();
$addstreak = $this->StreakManager();
$player->addStreak();
*/

}

}
Loading