MyPetORG / MyPet

🐕 Extensive pet plugin for Bukkit/Spigot
https://www.spigotmc.org/resources/mypet.12725/
GNU Lesser General Public License v3.0
181 stars 98 forks source link

Skilltree eines Offline-Spielers resetten #918

Open ScuroK opened 7 years ago

ScuroK commented 7 years ago

Hey Ich habe eine Frage. Es gibt ja die Mögllichkeit Skilltrees mit Permissions zu setzen. Manche unserer Spieler bekommen z.B. 1 Jahr Zugriff auf einen Skilltree. Jetzt habe ich folgendes Problem: Wenn der Rang nach einem Jahr abgelaufen ist, verliert der Spieler den Skilltree nicht. Das wäre ansich ok, jedoch kann ich ihn nur entfernen, wenn der Spieler online ist. Ich habe Mypet Premium und will manchen Spielern gerne die Pet-Fly Option geben. Ohne zeitliche Begrenzung wäre dies aber unfair. Wäre es möglich dass ich den Skilltree eines Offline-Spielers ändern/entfernen könnte?

Eigentlich würde folgendes reichen: ein cmd der das Pet eines bestimmten Spielers löscht also /petadmin remove . Wenn der Spieler mehrere Pets hat, einfach alle.

ODER: Permission für den skill immer prüfen, wenn das pet gerufen wird. falls spieler die permission nicht mehr hat, automatisch zu einem "default skilltree" wechseln was meinst du?

Die 2. Variante wäream besten.

Wir geben manchen Spielern z.B. 1 Jahr lang einen bestimmten Permission-Rang auf dem Server. Inhaber dieses Ranges können einen speziellen Skilltree nutzen. Nach 1 Jahr verliert der Spieler diesen Rang und somit die Permission für den Skilltree wieder. Deshalb sollte es auch möglich sein, den speziellen Skilltree wieder zu entfernen, auch wenn der Spieler offline ist.

ScuroK commented 7 years ago

Anmerkung: Ich bin nicht hier um über die Mojang/Microsoft EULA zu diskutieren (!) sondern um ein kleines Feature zu bitten, welches ganz unterschiedlich genutzt werden kann. Unter anderem auch in RPG-Systemen. Danke.

zerafox commented 7 years ago

Doesn't your donation system offer a "wait until player is online to execute command"? I'm not aware of what system you are using to grant these permissions, but I do know that some do offer a "wait until player is online to run commands" function.

2016-11-15 1:57 GMT-05:00 ScuroK notifications@github.com:

Anmerkung: Ich bin nicht hier um über die Mojang/Microsoft EULA zu diskutieren sondern um ein kleines Feature zu bitten, welches ganz unterschiedlich genutzt werden kann. Unter anderem auch in RPG-Systemen. Danke.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xXKeyleXx/MyPet/issues/918#issuecomment-260562696, or mute the thread https://github.com/notifications/unsubscribe-auth/ADilsbGgDsbAh6lPxhzo4vmtKIBE2B0tks5q-VfngaJpZM4KyMAs .

ScuroK commented 7 years ago

:) We are just a very small server (42 Slots) and we are not focused on donations. We just have permissionsEx. :D I would like to have a system like you said. Could be very usefull for other things aswell!

zerafox commented 7 years ago

Do you not have an automated system that players donate through for your donator ranks? What causes these ranks to "expire" as you said before?

What is taking money from your players when they donate, and granting the permissions they're donating for? o.O

On Tue, Nov 15, 2016 at 2:26 PM, ScuroK notifications@github.com wrote:

:) We are just a very small server (42 Slots) and we are not focused on donations. We just have permissionsEx. :D I would like to have a system like you said. Could be very usefull for other things aswell!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xXKeyleXx/MyPet/issues/918#issuecomment-260740623, or mute the thread https://github.com/notifications/unsubscribe-auth/ADilsVAvi2OQin39_wnPv6A7xrfOEYCvks5q-gdbgaJpZM4KyMAs .

ScuroK commented 7 years ago

Its all done "by hand". I give them donator rank via permissionsex. The donations are done via paysafe/nitrado. No automatism involved.

ScuroK commented 7 years ago

As i mentioned we are a small server. We do it like this since many years.

ScuroK commented 7 years ago

We are not a " geldgeil" automatic mo ey eating machine like gommehd... we arealittke minecraft community. Maybe old fashion :P

ScuroK commented 7 years ago

And the donation mostky come from heart. We are really not a shop.

Hope this answer your questions about our donating culture

zerafox commented 7 years ago

There are systems out there that can automate these types of things for free. We've always used Enjin's system which will wait to run commands until a player is online. I can tell you now, the likely-hood of having a "make this change to an offline player" is unlikely to occur as it's a very time consuming and often resource heavy request on a plugin such as MyPet to search all kinds of databases. Besides that, it would also need to search all pets that weren't "Active" with the player, such as storages. It may sound like a simple request, but I'm not sure it's as simple as you'd think. I'd suggest looking into some sort of way to automate as I'd say that's probably the best way to go about this; having a system to run these commands when the player logs in.

On Wed, Nov 16, 2016 at 1:19 AM, ScuroK notifications@github.com wrote:

And the donation mostky come from heart. We are really not a shop.

Hope this answer your questions about our donating culture

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xXKeyleXx/MyPet/issues/918#issuecomment-260863940, or mute the thread https://github.com/notifications/unsubscribe-auth/ADilsWiU3FyejtRaIyWPTlirNd516PJVks5q-qBdgaJpZM4KyMAs .

ScuroK commented 7 years ago

ok thanks anyway :) i guess minecraft 1.11 update will have highest priority anyway now :D