Skip to content

Commit

Permalink
Initial Start
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikokun committed Jan 11, 2013
1 parent 38ecaa1 commit e34f152
Show file tree
Hide file tree
Showing 5 changed files with 333 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/bukkit-1.4.6-R0.3"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>iColite</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
134 changes: 134 additions & 0 deletions bin/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
name: iColite
main: omg.icolite.iColite
version: 0.1.0
author: Nijikokun
website: http://github.com/iConomy/lite

# Command Central
commands:
money:
aliases: [ iConomy, iColite, iCo, icolite, ico ]
description: Distrobute, transfer, exchange and use currency
usage: /<command> [option [args[.[.]]]]

# Permission Dataset
permissions:
iConomy.*:
default: op
description: Super-permission, gives access to any command
children:
iConomy.help: true
iConomy.holdings: true
iConomy.holdings.others: true
iConomy.top: true
iConomy.payment: true
iConomy.accounts.create: true
iConomy.accounts.remove: true
iConomy.accounts.give: true
iConomy.accounts.take: true
iConomy.accounts.set: true
iConomy.accounts.status: true
iConomy.accounts.status.set: true
iConomy.accounts.purge: true
iConomy.accounts.empty: true
iConomy.accounts.*:
description: Gives access to all account based commands
children:
iConomy.accounts.create: true
iConomy.accounts.remove: true
iConomy.accounts.give: true
iConomy.accounts.take: true
iConomy.accounts.set: true
iConomy.accounts.status: true
iConomy.accounts.status.set: true
iConomy.accounts.purge: true
iConomy.accounts.empty: true
iConomy.plus:
description: Gives access to user plus only commands
children:
iConomy.help: true
iConomy.holdings: true
iConomy.holdings.others: true
iConomy.top: true
iConomy.payment: true
iConomy.user:
description: Gives access to user only commands
children:
iConomy.help: true
iConomy.holdings: true
iConomy.payment: true
iConomy.help:
description: Allows you to request help information.
default: op
command: "/money help"
iConomy.holdings:
description: Check your balance.
default: op
command: "/money"
iConomy.holdings.others:
description: Check other players balance.
default: op
command: "/money <account-name>"
examples:
- "/money Nijikokun"
iConomy.top:
description: View top-most accounts.
default: op
command: "/money top"
iConomy.payment:
description: Send money to others.
default: op
command: "/money pay <account-name> <amount>"
examples:
- "/money pay Nijikokun 30"
iConomy.accounts.create:
description: Create an account.
default: op
command: "/money create <account-name> [amount]"
examples:
- "/money create Nijikokun"
- "/money create Nijikokun 30"
iConomy.accounts.remove:
description: Remove an existing account
default: op
command: "/money remove <account-name>"
examples:
- "/money remove Nijikokun"
iConomy.accounts.give:
description: Give account a certain amount
default: op
command: "/money give <account-name> <amount>"
examples:
- "/money give Nijikokun 30"
iConomy.accounts.take:
description: Take a certain amount from an account
default: op
command: "/money take <account-name> <amount>"
examples:
- "/money take Nijikokun 30"
iConomy.accounts.set:
description: Set an account's balance to this amount
default: op
command: "/money set <account-name> <amount>"
examples:
- "/money set Nijikokun 30"
iConomy.accounts.status:
description: Check to see the status of an account (Visible, Hidden, Etc)
default: op
command: "/money status <account-name>"
examples:
- "/money status Nijikokun"
iConomy.accounts.status.set:
description: Set the status of an account (Visible (1), Hidden (0))
default: op
command: "/money status <account-name>"
examples:
- "/money status Nijikokun"
iConomy.accounts.purge:
description: Purge all accounts with default creation value.
default: op
command: "/money purge"
iConomy.accounts.empty:
description: Empty / Drop entire database of accounts.
default: op
command: "/money empty"
41 changes: 41 additions & 0 deletions src/omg/icolite/iColite.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* iColite
*
* The lightweight, stable, and reliable economy replacement of iConomy. The future of Minecraft
* Economy Ecosystems. Should I break all existing systems? Maybe.
*
* @copyright Copyright Nexua LLC (C) 2013
* @author Nijiko Yonskai (Nijikokun) <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package omg.icolite;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public final class iColite extends JavaPlugin {
@Override public void onEnable () {
super.onEnable();
}

@Override public void onDisable () {
super.onDisable();
}

@Override public boolean onCommand (CommandSender sender, Command command, String label, String[] args) {
return super.onCommand(sender, command, label, args);
}
}
134 changes: 134 additions & 0 deletions src/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
name: iColite
main: omg.icolite.iColite
version: 0.1.0
author: Nijikokun
website: http://github.com/iConomy/lite

# Command Central
commands:
money:
aliases: [ iConomy, iColite, iCo, icolite, ico ]
description: Distrobute, transfer, exchange and use currency
usage: /<command> [option [args[.[.]]]]

# Permission Dataset
permissions:
iConomy.*:
default: op
description: Super-permission, gives access to any command
children:
iConomy.help: true
iConomy.holdings: true
iConomy.holdings.others: true
iConomy.top: true
iConomy.payment: true
iConomy.accounts.create: true
iConomy.accounts.remove: true
iConomy.accounts.give: true
iConomy.accounts.take: true
iConomy.accounts.set: true
iConomy.accounts.status: true
iConomy.accounts.status.set: true
iConomy.accounts.purge: true
iConomy.accounts.empty: true
iConomy.accounts.*:
description: Gives access to all account based commands
children:
iConomy.accounts.create: true
iConomy.accounts.remove: true
iConomy.accounts.give: true
iConomy.accounts.take: true
iConomy.accounts.set: true
iConomy.accounts.status: true
iConomy.accounts.status.set: true
iConomy.accounts.purge: true
iConomy.accounts.empty: true
iConomy.plus:
description: Gives access to user plus only commands
children:
iConomy.help: true
iConomy.holdings: true
iConomy.holdings.others: true
iConomy.top: true
iConomy.payment: true
iConomy.user:
description: Gives access to user only commands
children:
iConomy.help: true
iConomy.holdings: true
iConomy.payment: true
iConomy.help:
description: Allows you to request help information.
default: op
command: "/money help"
iConomy.holdings:
description: Check your balance.
default: op
command: "/money"
iConomy.holdings.others:
description: Check other players balance.
default: op
command: "/money <account-name>"
examples:
- "/money Nijikokun"
iConomy.top:
description: View top-most accounts.
default: op
command: "/money top"
iConomy.payment:
description: Send money to others.
default: op
command: "/money pay <account-name> <amount>"
examples:
- "/money pay Nijikokun 30"
iConomy.accounts.create:
description: Create an account.
default: op
command: "/money create <account-name> [amount]"
examples:
- "/money create Nijikokun"
- "/money create Nijikokun 30"
iConomy.accounts.remove:
description: Remove an existing account
default: op
command: "/money remove <account-name>"
examples:
- "/money remove Nijikokun"
iConomy.accounts.give:
description: Give account a certain amount
default: op
command: "/money give <account-name> <amount>"
examples:
- "/money give Nijikokun 30"
iConomy.accounts.take:
description: Take a certain amount from an account
default: op
command: "/money take <account-name> <amount>"
examples:
- "/money take Nijikokun 30"
iConomy.accounts.set:
description: Set an account's balance to this amount
default: op
command: "/money set <account-name> <amount>"
examples:
- "/money set Nijikokun 30"
iConomy.accounts.status:
description: Check to see the status of an account (Visible, Hidden, Etc)
default: op
command: "/money status <account-name>"
examples:
- "/money status Nijikokun"
iConomy.accounts.status.set:
description: Set the status of an account (Visible (1), Hidden (0))
default: op
command: "/money status <account-name>"
examples:
- "/money status Nijikokun"
iConomy.accounts.purge:
description: Purge all accounts with default creation value.
default: op
command: "/money purge"
iConomy.accounts.empty:
description: Empty / Drop entire database of accounts.
default: op
command: "/money empty"

0 comments on commit e34f152

Please sign in to comment.