Skip to content

Commit

Permalink
AxSellwands
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Mar 15, 2024
1 parent cc1ae8d commit ba6342a
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Writerside/hi.tree
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,10 @@
<toc-element topic="Triggers.md"/>
<toc-element topic="AxQuestBoard-Developer-API.md"/>
</toc-element>
<toc-element topic="AxSellwands.md">
<toc-element topic="AxSellwands-Commands.md"/>
<toc-element topic="AxSellwands-Configuration.md"/>
<toc-element topic="AxSellwands-Supported-Plugins.md"/>
<toc-element topic="AxSellwands-Developer-API.md"/>
</toc-element>
</instance-profile>
3 changes: 3 additions & 0 deletions Writerside/topics/AxMines.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# AxMines

> This plugin has not released yet, some things are subject to change!
{style="warning"}

## Features:
- Fast, doesn't affect tps
- Get chunk sections and modify them in parallel then sync back to main thread
Expand Down
3 changes: 3 additions & 0 deletions Writerside/topics/AxQuestBoard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# AxQuestBoard

> This plugin has not released yet, some things are subject to change!
{style="warning"}

* Race with other players to complete quests on the quest board, 50+ builtin quest types.

### Features:
Expand Down
3 changes: 3 additions & 0 deletions Writerside/topics/AxSellChest.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# AxSellChest

> This plugin has not released yet, some things are subject to change!
{style="warning"}

## Features:
- Holograms
- Chunk collect
Expand Down
8 changes: 8 additions & 0 deletions Writerside/topics/AxSellwands-Commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Commands

* Permission: `axsellwands.admin`

|-|-|
| Command | Description |
| /axquestboard reload | Reload plugin |
| /axquestboard give \<player> \<sellwand> [amount] | List commands |
23 changes: 23 additions & 0 deletions Writerside/topics/AxSellwands-Configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Configuration

## config.yml

### stacking-mode (default: 1)

* 0 - disallow stacking
* 1 - add durability of 2 sell wands together
* 2 - ignore, not recommended

### number-formatting.mode (default: 0)

* 0 - formatted (customizable, look at the formatted part)
* 1 - short (1K)
* 2 - raw (1000.4242421412)

### number-formatting.formatted (default: #,###.##)

* https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html

### number-formatting.short (default: en_US)

* format: language_COUNTRY
62 changes: 62 additions & 0 deletions Writerside/topics/AxSellwands-Developer-API.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Developer API

<tabs>

<tab title="Gradle">

Add the following to your **repositories** section:
```groovy
maven { url 'https://repo.artillex-studios.com/releases/' }
```

Add the dependency to your **dependencies** section:

```groovy
compileOnly("com.artillexstudios:AxSellwands:CHANGE-THIS")
```
</tab>

<tab title="Maven">

Add the following to your **repositories** section:
```xml
<repository>
<id>Artillex-Studios</id>
<url>https://repo.artillex-studios.com/releases/</url>
</repository>
```

Add the following to your **dependencies** section:

```xml
<dependency>
<groupId>com.artillexstudios</groupId>
<artifactId>AxSellwands</artifactId>
<version>CHANGE-THIS</version>
<scope>provided</scope>
</dependency>
```
</tab>
</tabs>
<p>Replace <b>CHANGE-THIS</b> to the latest version: <a href="https://repo.artillex-studios.com/#/releases/com/artillexstudios/AxSellwands"><img src="https://repo.artillex-studios.com/api/badge/latest/releases/com/artillexstudios/AxSellwands?color=40c14a&amp;amp;name=AxSellwands" alt=""/></a></p>

## API Usage

Don't forget to add AxSellwands to your plugin's plugin.yml, like this:
```yaml
depend:
- AxSellwands
```
or:
```yaml
softdepend:
- AxSellwands
```
### Events:
|-|-|
| Event | Description |
| AxSellwandsSellEvent | Called when a sell wand is used to sell items |
Other: Use the static methods in the `com.artillexstudios.axsellwands.HookManager` class to register a new protection/currency/price hooks.
26 changes: 26 additions & 0 deletions Writerside/topics/AxSellwands-Supported-Plugins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Supported Plugins

### Protection:
* BentoBox
* GriefPrevention
* IridiumSkyBlock
* KingdomsX
* SuperiorSkyblock2
* Lands
* WorldGuard

### Economy:
* Vault
* PlayerPoints
* CoinsEngine
* RoyaleEconomy

### Price provider: (you can use these instead of the builtin one)
* AxGens
* ShopGuiPlus
* Essentials
* EconomyShopGUI
* CMI

> Is there a plugin that isn't supported? Open a ticket on our discord:
<font color="#1f67ff">[dc.artillex-studios.com](https://dc.artillex-studios.com/)</font>
20 changes: 20 additions & 0 deletions Writerside/topics/AxSellwands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# AxSellwands

> This plugin has not released yet, some things are subject to change!
{style="warning"}

* A feature rich sell wand plugin with a simple configuration.

### Features:
- Ability to inspect price of container by left clicking
- Easy to configure (less than 100 lines of config)
- It is possible to add an unlimited number of sell wands
- Sell wand sell multipliers
- Unbreakable sell wands
- Sell holograms (no extra plugins required)
- Sellwand cooldowns
- Optional builtin price system
- Sellwand merging option
- Customizable number formatting
- Allow or disallow certain container types from being sold
- Sell particles, sounds

0 comments on commit ba6342a

Please sign in to comment.