Sueta

CubicStore - Ultimate stripe webstore | Monetize your server

0.4

itemshop

·Plugin

Better Tpa (2).png

Images:
you can edit every text!

screenshots

9io (1).png

Zrzut ekranu 2024-07-19 203345 (1).png

Support server: https://discord.gg/dkZUPBNA2q

Don't forget to add your
domain in the hosts section in config.yml!

config.yml
#Is your server using bungeecord?
bungeecord: false

#Stripe api key, do not share!
api_key: ''

#Server name, not ip.
name: 'cubicstore'
#Title of the homepage
title: '%server% - Home'
#One line description.
description: 'ultimate stripe itemshop'
#Supported file types: png, jpg, jpeg, webp.
#Image must be located in the assets folder.
icon: 'assets/cubicstore.png'

#Currency, see Stripe page for info.
currency: 'usd'

#Buttons displayed in the header.
buttons:

  #Section can be anything.
  home:

    #Text displayed on the button.
    text: 'Home'
    #Url to take the user.
    url: '/'

  store:
    text: 'Store'
    url: '/#servers'
  tos:
    text: 'ToS'
    url: '/tos'
  discord:
    text: 'Discord'
    url: 'https://discord.com/myinvite'

info: 'Online players: %online%'

#Footer of your page.
links: 'Links'
footer_icon: 'https://i.imgur.com/uzr7jl3.png'
footer_url: 'https://discord.com/mydiscord'
footer:
  - 'The %server% server is not endorsed by Mojang, AB.'
  - '@ 2024 - %server% | All rights reserved'

#Port to launch your itemshop.
port: 80

#Hosts that are allowed to interact with page.
#Put here your connected domains.
hosts:
  - 'localhost'
  - 'localhost:5050'

#Server list.
servers:
  survival:

    #Name displayed on server section.
    name: 'Survival'
    #Description on server section.
    description: 'Click the button below to buy awesome products!'
    #Button text.
    button: 'Store'
    #Title of the page
    title: '%server% - Survival'
    #Icon displayed on server section.
    icon: 'https://i.imgur.com/TooGTZ8.png'
    #Url example: https://myserver.com/survival.
    url: 'survival'
    #Server name, if bungeecord is enabled.
    server_name: 'survival'

#Products displayed on server page.
products:

  #Server section.
  survival:
    normal_key:

      #Name of the product.
      name: 'Normal key'
      #Icon of the product.
      icon: 'https://i.imgur.com/IY2w1vV.png'
      #Price of the product.
      price: 2.0
      #Buy button
      button: 'buy'
      #Product description.
      description:
        - '<p>This is a paragraph!</p>'
        - '<ul>'
        - '<li>This is a list!</li>'
        - '</ul>'
        - 'This is also a paragraph!'
      #Should the player be able to select size?
      pick_size: true
      #Commands to run after purchase
      commands:
        - 'say %player% bought %size% of %product%!'

#Purchase form.
form:
  nick: 'Player name'
  size: 'Size (optional)'
  discount: 'Discount code (optional)'
  empty: "Field can't be empty!"
  invalid: "This code is invalid!"

discounts:
  survival:
    cubicstore%:
      code: 'cubicstore%'
      discount: -20%
      products:
        - normal_key
    cubicstore$:
      code: 'cubicstore$'
      discount: -20
      products:
        - normal_key

success-title: '%server% - Success'
success:
  - 'Thank you for purchasing on our store!'

latest:
  text: 'LATEST PURCHASES'
  tooltip:
    - '%player% bought'
    - '%product%'
    - '%date%'

#Additional pages.
pages:

  #Section, can be anything.
  tos:

    #Url of the page
    url: 'tos'
    title: '%server% - ToS'
    #Contents.
    content:
      - '<p style="font-size: 30px;">This is a large paragraph!</p>'
      - '<p style="font-size: 15px;">This is a small paragraph!</p>'
      - 'This is a paragraph!'

Installation:

Spigot:

1. Put plugin in your plugins folder
2. Restart server.
3. Enjoy.

Bungeecord:

1. Put plugin in all servers, including proxy.
2. Set bungeecord:true in config.yml on all servers,
except proxy.
3. Add servers in servers section in config.yml.
(All configuration is done on the proxy server)
4. Enjoy.

Similar projects

Plugin →