Coder Social home page Coder Social logo

abilitytrader's People

Contributors

vxnick avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

abilitytrader's Issues

Given abilities logged as player

If an ability is given to a player by an administrator, it's logged as the player purchasing or renting the ability themselves.

Abilities not removed if user is logged out on expiry

If the user is not online at the time a rental expires then the ability is not removed.

AbilityTrader goes through the motions of removal and removes the user from the list so it is never checked again (they are no longer in the list as having the ability rented) and thus is never removed.

I'm trying to rent out abilities for 18 hours at a time (basically 1 day rental) and this is an issue. Would be an issue on any time rental if users were aware of it.

I suggest a check to see if the user is online before continuing to process the removal. If they aren't online just leave them in the list for removal later.

"/ability add", complement to "/ability remove"

The command "/ability add" would allow an admin to give people ability rentals without them having to pay for it. There are a few applications:

  • Free trials of abilities. Instead of just giving them the permissions directly the AbilityTrader system could ensure the trial ended after the normal period.
  • Allowing admins to grant a limited set of permissions on people instead of giving them access to your whole permissions plugin
  • Donator perks. This way a donation system could run "/ability add" to automate the process of adding limited-time perks.

Additionally, the command could have another parameter that does automatically charge the player as if they had bought the ability normally. This could be used to allow people to buy abilities via Citizens while denying them permissions to access the /ability commands directly.

Log actions

Log ability purchases and removals (both expiry and via player).

Add logging option

If this is enabled, messages will be logged to console (for example, "player has rented X ability").

Purchase Modes and Methods

Can you use a real money purchase system to give the ability to purchase protections of areas without factions.

Example, I want to ensure no one can break my build; the build is 10444 blocks large, I buy on Paypal or some other system protection for 10444 blocks and use them via WE or /cprotect in game.

Also, Can you "buy " Creative mode for X time?

If so how?

Thanks Lorin' of Server Lorin'
www.lorin.enjin.com

Modify ability commands

Create a sub-list within the ability commands string list to allow for different commands to be executed when adding and removing abilities.

Specify ability groups

Specify a list of groups that a player has to be in before an ability can be displayed/purchased, and groups to move the player into upon purchase/removal.

Allow abilities to be both bought and rented

Allow for a both ability type. Both prices should then be displayed on the list screen.

The cost should be modified to allow for a buy_cost and rent_cost. This won't affect player data as an expiry always applies to a rentable ability.

Global commands

Identical to ability commands, but runs for all abilities

Modify info screen

The ability screen is pretty sparse - add the description to each ability.

Expiry reminders

Show the player a message when abilities are close to expiry, if they're online

Don't require permissions

There are some checks that determine whether a player already has a permission - in some cases there may not be any permissions, so this could cause an error. Investigate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.