Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Dec 26, 2020
1 parent 3f113ce commit 1b21d3e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Sam
Copyright (c) 2018-2020 Samerton

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Integrate your Nameless website with your Tebex store.

## Requirements
- NamelessMC version 2 pre-release 6+
- NamelessMC version 2 pre-release 8+
- [Tebex](https://www.tebex.io/)

## Installation
Expand Down
9 changes: 1 addition & 8 deletions upload/modules/Tebex/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* Made by Samerton
* https://github.com/samerton
* NamelessMC version 2.0.0-pr5
* NamelessMC version 2.0.0-pr8
*
* License: MIT
*
Expand All @@ -12,12 +12,5 @@
// Language
$buycraft_language = new Language(ROOT_PATH . '/modules/Tebex/language', LANGUAGE);

// Temp admin sidebar method
if (!isset($admin_sidebar)) $admin_sidebar = array();
$admin_sidebar['buycraft'] = array(
'title' => $buycraft_language->get('language', 'buycraft'),
'url' => URL::build('/admin/buycraft')
);

require_once(ROOT_PATH . '/modules/Tebex/module.php');
$module = new Tebex_Module($language, $buycraft_language, $pages, $cache);
8 changes: 4 additions & 4 deletions upload/modules/Tebex/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
/*
* Made by Samerton
* https://github.com/NamelessMC/Nameless/
* NamelessMC version 2.0.0-pr5
* NamelessMC version 2.0.0-pr8
*
* License: MIT
*
* Buycraft module file
* Tebex module file
*/

class Tebex_Module extends Module {
Expand All @@ -19,8 +19,8 @@ public function __construct($language, $buycraft_language, $pages, $cache){

$name = 'Tebex';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$module_version = '1.0.3';
$nameless_version = '2.0.0-pr7';
$module_version = '1.1.0';
$nameless_version = '2.0.0-pr8';

parent::__construct($this, $name, $author, $module_version, $nameless_version);

Expand Down

0 comments on commit 1b21d3e

Please sign in to comment.